News for hackers. Stuff that matters.
Re:Unix Shell Programming: The Next 50 Years [pdf] by teddyh on Friday June 04, 2021 @11:15AM (#27394418)
> in zsh […] setopt NO_CLOBBER

In Bash it’s

  set -o noclobber
or

  set -C
Re:Unix Shell Programming: The Next 50 Years [pdf] by gnubison on Saturday June 05, 2021 @11:45PM (#27410611)
Those work in any POSIX shell, and also zsh.
Re:Unix Shell Programming: The Next 50 Years [pdf] by teddyh on Monday June 07, 2021 @07:54AM (#27421473)