nawk
[
options
] [
'
program
'
] [
files
] [
variable
=
value
]
New version of awk
, with additional capabilities. nawk
is a pattern-matching language useful for manipulating data. See Chapter 11
for more information on nawk
.
-f
file
Read program instructions from file
instead of supplying program
instructions on command line. This option may be specified multiple times; each file
is concatenated with the others to make up the program source code.
-F
regexp
Separate fields using regular expression regexp
.
-v
variable
=
value
Assign value
to variable
before executing '
program
'
.
- variable
=
value
Assign value
to variable
. When specified intermixed with files
, the assignment occurs at that point in the processing.