Previous Section  < Day Day Up >  Next Section

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.

    Previous Section  < Day Day Up >  Next Section