Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: '>>' does not create file if set -C (noclobber) is active



On Jun 25,  3:02am, Martijn Dekker wrote:
}
} If the 'noclobber' option (set -C) is active, the append ('>>') output
} redirection will not create a file if it doesn't exist.
} 
} POSIX:

The noclobber option is an extension, and has nothing whatsoever to do
with POSIX.  It is not normally on in any emulation, so as soon as you
set it you're off in the weeds and appeal to POSIX is meaningless.

This is working the way it's intended to work.



Messages sorted by: Reverse Date, Date, Thread, Author