SYNTAX
awk [ -F fs ] [ -v var=value ] [ 'prog' | -f progfile ] [ file ... ]

Options

-f progfile Specify a pattern to match within progfile
rather then on the command line.

-v var=value Assign values before prog is executed,
any number of -v options may be present.

-F fs Define the input field separator = regular expression fs.

-mr Set the maximum size of the input record.

-mf Set the maximum number of fields.

Posted in Apple Software