UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: mvChapter 2
UNIX Commands
Next: Reference: newform


nawk [options] ['program'] [files] [variable=value]

New version of awk, with additional capabilities. Nawk is a pattern-matching language useful for manipulating data. See Section 11 for more information on nawk.


-f file

Read program instructions from file instead of supplying program instructions on command line.

-F regexp

Separate fields using regular expression regexp.

-v variable=value

Assign value to variable before executing 'program'. If specified at the end of the command line, assignment occurs after opening files.

Previous: Reference: mvUNIX in a Nutshell: System V EditionNext: Reference: newform
Reference: mvBook IndexReference: newform

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