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

bash also has a noclobber option, IIRC. It is to prevent overwriting existing files with the > redirection operator.

Google:

bash set noclobber option

and

bash set command

and see

https://www.gnu.org/software/bash/manual/html_node/The-Set-B...



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

Search: