From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id KAA28679 for ; Sun, 16 Jun 1996 10:18:16 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id UAA03009; Sat, 15 Jun 1996 20:00:07 -0400 (EDT) Resent-Date: Sat, 15 Jun 1996 20:00:07 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199606152208.AAA03465@hzoli.ppp.cs.elte.hu> Subject: <> redirection operator (was: zsh.texi) To: zsh-workers@math.gatech.edu (Zsh hacking and development) Date: Sun, 16 Jun 1996 00:08:33 +0200 (MET DST) In-Reply-To: <27748.199606150744@stone.dcs.warwick.ac.uk> from Zefram at "Jun 15, 96 08:44:05 am" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"qTGb61.0.xk.6wqmn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1356 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zefram wrote: > >I'd like to implement <> redirection as well which is often quite useful > >and it is required by POSIX as well. When not in sh/ksh mode <> will only > >be recocnized as a redirection if it is delimited from the word before and > >after it or if it is immediately preceeded by a digit. E.g. > > I think actually <> should *always* do redirection. The glob syntax, > <->, is only one charater longer. I agree with that but I'm afraid that this change will break many scripts. But it would be definitely simpler and cleaner, and the documentation would be much simpler and less confusing. Zoltan