Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
bierjunge
· 2y ago · 0 comments
Nobody mentions $_ ? It gives you the last argument used, so:
cat filename.txt grep "what I want" $_
expands "$_" to "filename.txt"
Comments
No comments yet.
Better HN