Skip to content

Unnecessary use of cat in README #36

@silversquirl

Description

@silversquirl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions