home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    


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.

Previous: Reference: native2ascii UNIX in a Nutshell: System V Edition Next: Reference: neqn
Reference: native2ascii Book Index Reference: neqn

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System