3 ms·
You needn't ever say "cat myfile | ..." period! The shell has stdin redirection built in via '<'
by blasdel 17y ago
You needn't ever say "cat myfile | ..." period!
The shell has stdin redirection built in via '<'
- TomasSedovic 17y agoWhat happened to TIMTOWTDI? :-)
- lallysingh 17y agoWhat's TIMTOW? And why would you want a turbo diesel, fuel injected version of it?
- steveklabnik 17y ago"There's More Than One Way To Do It" is a Perl philosophy.
- jrockway 17y agoUnless you want to read your pipeline from left to right, like everything else you read.
- blasdel 17y agoWhat if you want the subject on the right, like all non-pipeline commands you read? foo myfile bar < myfile (bar | baz) < myfile
- throw_away 17y agoyou can also say $ < file executable