News for hackers. Stuff that matters.
Re:macOS command-line tools you might not know about by patrec on Tuesday June 27, 2023 @01:42PM (#36496238)
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 `|`.
Re:macOS command-line tools you might not know about by ddingus on Tuesday June 27, 2023 @11:54PM (#36502079)
I did this last time I saw it come up and was surprised! Doing it makes perfect sense in hindsight. Neato!