3 ms·
‘<file.txt blah’ works just fine.
by gnubison 4y ago
‘<file.txt blah’ works just fine.
- fomine3 4y agoIt's preference, like Python list comprehensions vs Ruby method chain.
- rotifer 4y agoI often use cat because when constructing a pipeline I'll do multiple rounds of: head filename | ... Once its working I find it easy to just type C-aM-dcat (i.e. beginning-of-line kill-word cat).
- samatman 4y agoThanks for the reminder (sincerely) but to me this is worse, I would use a shell which doesn't offer this particular form of irregular grammar, I hate it. 100% aesthetic, I shouldn't be able to point a file at my prompt and have it end up streamed into the next word. Just awful, 0/10, do not want.
- gnubison 4y agoFrom another perspective it’s more regular that position doesn’t matter. (This behavior works in all POSIX shells, zsh, rc, etc. But not fish :p)