|
Packit |
575503 |
gawk: option requires an argument -- f
|
|
Packit |
575503 |
Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
|
|
Packit |
575503 |
Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
|
|
Packit |
575503 |
POSIX options: GNU long options: (standard)
|
|
Packit |
575503 |
-f progfile --file=progfile
|
|
Packit |
575503 |
-F fs --field-separator=fs
|
|
Packit |
575503 |
-v var=val --assign=var=val
|
|
Packit |
575503 |
Short options: GNU long options: (extensions)
|
|
Packit |
575503 |
-b --characters-as-bytes
|
|
Packit |
575503 |
-c --traditional
|
|
Packit |
575503 |
-C --copyright
|
|
Packit |
575503 |
-d[file] --dump-variables[=file]
|
|
Packit |
575503 |
-D[file] --debug[=file]
|
|
Packit |
575503 |
-e 'program-text' --source='program-text'
|
|
Packit |
575503 |
-E file --exec=file
|
|
Packit |
575503 |
-g --gen-pot
|
|
Packit |
575503 |
-h --help
|
|
Packit |
575503 |
-i includefile --include=includefile
|
|
Packit |
575503 |
-l library --load=library
|
|
Packit |
575503 |
-L[fatal|invalid] --lint[=fatal|invalid]
|
|
Packit |
575503 |
-M --bignum
|
|
Packit |
575503 |
-N --use-lc-numeric
|
|
Packit |
575503 |
-n --non-decimal-data
|
|
Packit |
575503 |
-o[file] --pretty-print[=file]
|
|
Packit |
575503 |
-O --optimize
|
|
Packit |
575503 |
-p[file] --profile[=file]
|
|
Packit |
575503 |
-P --posix
|
|
Packit |
575503 |
-r --re-interval
|
|
Packit |
575503 |
-s --no-optimize
|
|
Packit |
575503 |
-S --sandbox
|
|
Packit |
575503 |
-t --lint-old
|
|
Packit |
575503 |
-V --version
|
|
Packit |
575503 |
|
|
Packit |
575503 |
To report bugs, see node `Bugs' in `gawk.info'
|
|
Packit |
575503 |
which is section `Reporting Problems and Bugs' in the
|
|
Packit |
575503 |
printed version. This same information may be found at
|
|
Packit |
575503 |
https://www.gnu.org/software/gawk/manual/html_node/Bugs.html.
|
|
Packit |
575503 |
PLEASE do NOT try to report bugs by posting in comp.lang.awk.
|
|
Packit |
575503 |
|
|
Packit |
575503 |
gawk is a pattern scanning and processing language.
|
|
Packit |
575503 |
By default it reads standard input and writes standard output.
|
|
Packit |
575503 |
|
|
Packit |
575503 |
Examples:
|
|
Packit |
575503 |
gawk '{ sum += $1 }; END { print sum }' file
|
|
Packit |
575503 |
gawk -F: '{ print $1 }' /etc/passwd
|