Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
expression
· 10y ago · 0 comments
Did you know you can start the command with the redirection operator?
<input-file grep stuff
Unless you are concatenating stuff, I see no reason to use cat.
Comments
[–]
gpm
10y ago
What if you just want to view the contents of input-file, unpaged. `<input-file` doesn't print anything unfortunately (curiously it doesn't error either).