3 ms·
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
by patrec 3y 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 `|`.
- ddingus 3y agoI did this last time I saw it come up and was surprised! Doing it makes perfect sense in hindsight. Neato!