source: trunk/essentials/sys-apps/gawk/test/badargs.ok

Last change on this file was 3076, checked in by bird, 18 years ago

gawk 3.1.5

File size: 1.1 KB
Line 
1gawk: option requires an argument -- f
2Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
3Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
4POSIX options: GNU long options:
5 -f progfile --file=progfile
6 -F fs --field-separator=fs
7 -v var=val --assign=var=val
8 -m[fr] val
9 -W compat --compat
10 -W copyleft --copyleft
11 -W copyright --copyright
12 -W dump-variables[=file] --dump-variables[=file]
13 -W exec=file --exec=file
14 -W gen-po --gen-po
15 -W help --help
16 -W lint[=fatal] --lint[=fatal]
17 -W lint-old --lint-old
18 -W non-decimal-data --non-decimal-data
19 -W profile[=file] --profile[=file]
20 -W posix --posix
21 -W re-interval --re-interval
22 -W source=program-text --source=program-text
23 -W traditional --traditional
24 -W usage --usage
25 -W version --version
26
27To report bugs, see node `Bugs' in `gawk.info', which is
28section `Reporting Problems and Bugs' in the printed version.
29
30gawk is a pattern scanning and processing language.
31By default it reads standard input and writes standard output.
32
33Examples:
34 gawk '{ sum += $1 }; END { print sum }' file
35 gawk -F: '{ print $1 }' /etc/passwd
Note: See TracBrowser for help on using the repository browser.