aboutsummaryrefslogtreecommitdiffstats
path: root/testdir/arg.cwk
Commit message (Collapse)AuthorAgeFilesLines
* Implement -E option and <safearg.h> header.Kaz Kylheku2022-07-171-0/+8
The -E option is not passed through to the Awk implementation any more, which is not particularly useful, because the option resembles -f, and its argument requires likewise handling. We achieve the semantics that -E <name> is equivalent to -f <name> --. From the GNU Awk user's perspective, this is a regression in the semantics of -E which also has the effect of suppressing the processing of arguments which look like variable assignments. To make up for that, we provide the <safearg.h> header which suppresses all implicit treatment of the remaining arguments.