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

Re: options shenanigans in pre4



> On a related matter, I suggest you re-examine the status of -1 and -C
> (PRINT_EXIT_VALUE and NO_CLOBBER).  In pre4, -C returned to being
> PRINT_EXIT_VALUE in the zsh option set, though zshoptions(1) claims

Oops, I confess I did not notice that.

> that -C is always NO_CLOBBER.  If this is due to me having merged the
> change into my option patch incorrectly, I apologise.  Either the

Yes it is.

> documentation or the code needs to change, and I suggest that changing
> the documentation would be preferable (as -C has traditionally been
> PRINT_EXIT_VALUE in zsh, and it's NO_CLOBBER in the ksh option set
> anyway).

But I do not like this ambiguity.  I do not think that many people used -C
for PRINT_EXIT_VALUE.  It just creates confusion when a bash-junkie tries
set -C than accidently looses /etc/passwd because he forgot a >.

Zoltan




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