nawk — New Pattern Scanning and Processing Language

Synopsis

/usr/bin/nawk [-F ERE][-v assignment] 
  'program' | -f progfile argument...] 
/usr/xpg4/bin/awk [-F ERE][-v assignment 'program' | 
   -f progfile [argument...] 

Description

The awk command is a complete programming language that is very useful for computation and pattern matching. The name awk is an acronym composed of the last initials of the three developers of the language: Aho, Weinberger, and Kernighan. The nawk (new awk) command is a greatly enhanced and optimized version of awk.

The /usr/bin/nawk and /usr/xpg4/bin/awk commands execute programs written in the nawk programming language, which is specialized for manipulating textual data. A nawk program is a sequence of patterns and ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.