4 ms·
> please excuse the useless use of `cat`, it's there to illustrate the direction of data flow Note that you can write < very-large-file Instead of c
by jraph 4y ago
> please excuse the useless use of `cat`, it's there to illustrate the direction of data flow
Note that you can write
< very-large-file
Instead of
cat very-large-file |
To avoid a useless use of cat and keep the direction. Not that I care very much though. Using cat is less surprising to most people.
- hnlmorg 4y ago> Using cat is less surprising to most people. Exactly :) STDIN redirection is a neat trick though so definitely worth highlighting. But it wouldn’t have helped with readability in my particular example.