Note that you can write
< very-large-file
cat very-large-file |
Exactly :)
STDIN redirection is a neat trick though so definitely worth highlighting. But it wouldn’t have helped with readability in my particular example.
Note that you can write
Instead of 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.