Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
venil
· 4y ago · 0 comments
Its actually part of the POSIX standard that redirections can be put anywhere in the command line, so one can do:
<file.txt sed 's/some/filter' | other_cmd
on any standard compliantish shell :) (I use zsh, and I know it also works for bash and dash)
Comments
[–]
jrm4
4y ago
Never knew this. Looking at it now. First impression, I can't tell if this is idiotic or genius :)