gthd / pawk

A parallel awk-like language
Apache License 2.0
4 stars 1 forks source link

Improve invocation compatibility with awk #14

Closed dspinellis closed 3 years ago

dspinellis commented 4 years ago

At a minimum we should support this style of invocation

awk [-n N] [-d[n]] [-F fs] [-v var=value] [prog | -f progfile] [file ...]

Note that multiple input files can be specified.

If no input file is specified, then awk should read from its standard input.

Use Go getopt for processing arguments.