Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
attentive
· 8mo ago · 0 comments
it seems smart until you accidently type >input.json and nuke the file
Comments
[–]
HappMacDonald
8mo ago
That sounds like a mistake which would be easily to make at the end of the line, unless you are contrasting input stream redirect against cat regardless where it's written on the line?
[–]
figmert
8mo ago
You can use sponge for that.