Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

it seems smart until you accidently type >input.json and nuke the file


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?


You can use sponge for that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: