Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: FPATH/autoload still strange in -dev-21
- X-seq: zsh-workers 10551
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Zefram <zefram@xxxxxxxx>
 
- Subject: Re: FPATH/autoload still strange in -dev-21
 
- Date: Thu, 6 Apr 2000 16:42:11 +0000
 
- Cc: zsh-workers@xxxxxxxxxxxxxx
 
- In-reply-to: <E12dEeA-0000e6-00@xxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <E12dEeA-0000e6-00@xxxxxxxxxxxxxxxxxx>
 
On Apr 6,  4:56pm, Zefram wrote:
} Subject: 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.
} [...]  The expected behaviour of "2>& foo" is to put two copies of
} stderr into the file [...]
Hmm.  "2>& foo" does indeed do so, but "2&> foo" only makes one copy.  Is
that also expected?
} You're talking about adding an exception, which really *will* confuse
} people.
I don't feel especially strongly about it either way, but why would
anyone reasonably expect to get two dups of the same descriptor from a
single redirection operator?
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author