![]() |
> etc. use the "noclobber" shell option. This option is unfortunately a > *BASH* option, and is not available under the older SunOS shell. I'm It is also in SCO's Bourne shell, so it may well be Posix. I doubt that it is race condition free and I find it irritating when set by default on interactive shells. It only works with > and >>