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

Re: FPATH/autoload still strange in -dev-21



Bart Schaefer wrote:
>} Make `2>& <non-number>' be silently treated like `2> <non-number>'?
>
>I'd vote for that anyway.

I wouldn't.  At the moment it's perfectly clear: &> does two redirections.
You're talking about adding an exception, which really *will* confuse
people.  The expected behaviour of "2>& foo" is to put two copies of
stderr into the file; this is a pretty innocuous failure mode if anyone
does do it by accident, and the cause will be pretty obvious.

-zefram



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