You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the - (simple dash) argument is a special argument to signals to Jawk that the rest of the arguments in the command line should not be parsed, but be considered as inputs to the AWK script (or variables, etc.).
But POSIX requires -- (double dash) to be this special argument. Simple dash means stdin as an input.
Also, gawk doesn't require --: the first "unknown" option passed as an argument is considered the end of the official gawk arguments, and the rest is considered as input files, variable assignments, and passed in ARGV.
Currently, the
-
(simple dash) argument is a special argument to signals to Jawk that the rest of the arguments in the command line should not be parsed, but be considered as inputs to the AWK script (or variables, etc.).But POSIX requires
--
(double dash) to be this special argument. Simple dash means stdin as an input.Also, gawk doesn't require
--
: the first "unknown" option passed as an argument is considered the end of the official gawk arguments, and the rest is considered as input files, variable assignments, and passed inARGV
.See gawk's manual page.
The text was updated successfully, but these errors were encountered: