logoalt Hacker News

a3w • today at 3:47 PM • 2 replies • view on HN

cat ~/.ssh/id_rsa | pbcopy

feels wrong. Unnecessary uses of cat.

`pbcopy < ~/.ssh/id_rsa`


Replies

zulux • today at 3:54 PM

I stopped fighting this war because the Cat version sort of follows the Subject-Verb-Object order in English, depending on how you think about the subject.

rpigab • today at 3:56 PM

This feels better, to have data flow from left to right, just like regular pipelines:

`<~/.ssh/id_rsa pbcopy`