-f, --file progfile | Read the AWK program source from the file program-file, instead of from the first command line argument. | help + man |
-F, --field-separator fs | Use fs for the input field separator (the value of the FS predefined variable). | help + man |
-v, --assign var=val | Assign the value val to the variable var, before execution of the program begins. | help + man |
-b, --characters-as-bytes | Treat all input data as single-byte characters. | help + man |
-c, --traditional | Run in compatibility mode. | help + man |
-C, --copyright | Print the short version of the GNU copyright information message on the standard output and exit successfully. | help + man |
-d file | --dump-variables[=file] | help |
-D file | --debug[=file] | help |
-e, --source 'program-text' | Use program-text as AWK program source code. | help + man |
-E, --exec file | Similar to -f, however, this option is the last one processed. | help + man |
-g, --gen-pot | Scan and parse the AWK program, and generate a GNU .pot (Portable Object Template) format file on standard output with entries for all localizable strings in the program. | help + man |
-h, --help | Print a relatively short summary of the available options on the standard output. | help + man |
-i, --include includefile | Load an awk source library. | help + man |
-I, --trace | Print the internal byte code names as they are executed when running the program. | help + man |
-k, --csv | Enable CSV special processing. | help + man |
-l, --load library | Load a gawk extension from the shared library lib. | help + man |
-L fatal|invalid|no-ext | --lint[=fatal|invalid|no-ext] | help |
-M, --bignum | Force arbitrary precision arithmetic on numbers. | help + man |
-N, --use-lc-numeric | Force gawk to use the locale's decimal point character when parsing input data. | help + man |
-n, --non-decimal-data | Recognize octal and hexadecimal values in input data. | help + man |
-o file | --pretty-print[=file] | help |
-O, --optimize | Enable gawk's default optimizations upon the internal representation of the program. | help + man |
-p file | --profile[=file] | help |
-P, --posix | This turns on compatibility mode, and disables a number of common extensions. | help + man |
-r, --re-interval | Enable the use of interval expressions in regular expression matching. | help + man |
-s, --no-optimize | Disable gawk's default optimizations upon the internal representation of the program. | help + man |
-S, --sandbox | Run gawk in sandbox mode, disabling the system() function, input redirection with getline, output redirection with print and printf, and loading dynamic extensions. | help + man |
-t, --lint-old | Provide warnings about constructs that are not portable to the original version of UNIX awk. | help + man |
-V, --version | Print version information for this particular copy of gawk on the standard output. | help + man |