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

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



Martijn Dekker schreef op 28-06-15 om 02:02:
> - The new clobberappend option is on by default, but 'set -C' (-o
> noclobber) turns clobberappend off. Conversely, 'set +C' (+o noclobber)
> turns it back on. This applies even when noclobber is already on or off.
> 
> - Contrary to the documentation, unsetting clobberappend has effect even
> when noclobber is not active. IOW, this currently provides a way to keep
> '>>' from creating files even when noclobber is off.

Scratch that. Actually turning either of them on turns the other off,
and vice versa.

- M.



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