Debian Codegraph @

test/badargs.ok

raw
1 gawk: option requires an argument -- f
2 Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
3 Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
4 POSIX options: GNU long options: (standard)
5 -f progfile --file=progfile
6 -F fs --field-separator=fs
7 -v var=val --assign=var=val
8 Short options: GNU long options: (extensions)
9 -b --characters-as-bytes
10 -c --traditional
11 -C --copyright
12 -d[file] --dump-variables[=file]
13 -D[file] --debug[=file]
14 -e 'program-text' --source='program-text'
15 -E file --exec=file
16 -g --gen-pot
17 -h --help
18 -i includefile --include=includefile
19 -I --trace
20 -k --csv
21 -l library --load=library
22 -L[fatal|invalid|no-ext] --lint[=fatal|invalid|no-ext]
23 -M --bignum
24 -N --use-lc-numeric
25 -n --non-decimal-data
26 -o[file] --pretty-print[=file]
27 -O --optimize
28 -p[file] --profile[=file]
29 -P --posix
30 -r --re-interval
31 -s --no-optimize
32 -S --sandbox
33 -t --lint-old
34 -V --version
35
36 To report bugs, use the `gawkbug' program.
37 For full instructions, see the node `Bugs' in `gawk.info'
38 which is section `Reporting Problems and Bugs' in the
39 printed version. This same information may be found at
40 https://www.gnu.org/software/gawk/manual/html_node/Bugs.html.
41 PLEASE do NOT try to report bugs by posting in comp.lang.awk,
42 or by using a web forum such as Stack Overflow.
43
44 Source code for gawk may be obtained from
45 https://ftp.gnu.org/gnu/gawk/gawk-5.3.2.tar.gz
46
47 gawk is a pattern scanning and processing language.
48 By default it reads standard input and writes standard output.
49
50 Examples:
51 gawk '{ sum += $1 }; END { print sum }' file
52 gawk -F: '{ print $1 }' /etc/passwd