| ▲ | a3w a day ago |
| cat ~/.ssh/id_rsa | pbcopy feels wrong. Unnecessary uses of cat. `pbcopy < ~/.ssh/id_rsa` |
|
| ▲ | zulux a day ago | parent | next [-] |
| 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. |
| |
| ▲ | adrian_b a day ago | parent [-] | | The redirected input file can be moved before the command name, which improves the syntax for pipes. |
|
|
| ▲ | rpigab a day ago | parent | prev | next [-] |
| This feels better, to have data flow from left to right, just like regular pipelines: `<~/.ssh/id_rsa pbcopy` |
|
| ▲ | InsidiousWombat a day ago | parent | prev [-] |
| cat /a/thing
ok it looks right, let's continue cat /a/thing | thing doer
HN: "noooo you're doing it wrooong, use my obscure syntaaax that reads baaadlyy" |
| |
| ▲ | matvore a day ago | parent | next [-] | | "reads badly" is subjective. How many processes your pipeline starts up is not. | | |
| ▲ | InsidiousWombat 21 hours ago | parent [-] | | yes, objectively it is "doesn't matter, it's interactive shell session", unless you're throwing around 5GB/s+ it doesn't matter, neither does few tens of KBs cat invocation would take |
| |
| ▲ | wpm 17 hours ago | parent | prev [-] | | cat /a/thing ^-a Meta-d thing doer /a/thing (mostly snark I am a fan of unnecessary cats) |
|