4 ms·
Wow, you described my workflow exactly. Using "<" might be shorter and faster-for-the-machine, but it's less readable and breaks the left-to-right order. I also
by hikarudo 6y ago
Wow, you described my workflow exactly. Using "<" might be shorter and faster-for-the-machine, but it's less readable and breaks the left-to-right order. I also frequently start with `cat x`, see what's in the file, move on to `cat x | some filter` etc.
- smorrow 6y ago'<file' can be used anywhere in the command. If it makes more human sense to have the file near the start, you can do that. grep <file -opts 'regex'
- traviscj 6y agoThis is why I walked back my claims a bit in my tldr — basically started trying stuff out and had a “whoa not used to the way that looks, but it does _work_...” moment. I think I still have the “wrong” preference, but I appreciate learning some new stuff!