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...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: