Hacker News new | ask | show | jobs
by patrec 1095 days ago
If you're using zsh, you can just replace any instance of

    $ cat somefile ...
with

    $ <somefile ...
For bash, this only works if you have at least one `|`.
1 comments

I did this last time I saw it come up and was surprised! Doing it makes perfect sense in hindsight. Neato!