docopt.c icon indicating copy to clipboard operation
docopt.c copied to clipboard

Unnecessary use of cat in README

Open silversquirl opened this issue 9 years ago • 0 comments

The following (taken from the README) encourages using cat when redirections would be more appropriate and (marginally) faster:

$ cat example.docopt | python docopt_c.py > docopt.c

A functionally equivalent, but slightly faster and cleaner version would be:

$ python docopt_c.py > docopt.c < example.docopt

silversquirl avatar Jan 05 '17 22:01 silversquirl