nawk—pattern scanning and processing language

nawk [ –F re ] [ –v var=value ] [ 'prog' ] [ filename …
nawk [ –F re ] [ –v var=value ] [ –f progfile ][ filename …]

nawk scans each input filename for lines that match any of a set of patterns. The command string must be enclosed in single quotes (') to protect it from the shell. awk programs consist of a set of pattern/action statements used to filter specific information from a file, pipe, or stdin. Linux uses gawk. ( See "awk" on page673.)

Get Linux Shells by Example 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.