From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dns.primenet.com.au (dns.primenet.com.au [203.24.36.40]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id WAA00157 for ; Thu, 1 Aug 1996 22:22:49 +1000 (EST) Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by dns.primenet.com.au (8.7.5/8.7.3) with ESMTP id WAA01092 for ; Thu, 1 Aug 1996 22:22:42 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id IAA06454; Thu, 1 Aug 1996 08:12:37 -0400 (EDT) Resent-Date: Thu, 1 Aug 1996 08:12:37 -0400 (EDT) Message-Id: <199608011211.OAA03448@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: Procmail rejects zsh as being "broken" In-reply-to: "a.main@dcs.warwick.ac.uk"'s message of "Thu, 01 Aug 1996 13:04:10 MET." <23075.199608011204@stone.dcs.warwick.ac.uk> Date: Thu, 01 Aug 1996 14:11:27 +0200 From: Peter Stephenson Resent-Message-ID: <"keV9u1.0.ma1.qy90o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1867 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu a.main@dcs.warwick.ac.uk wrote: > > *zsh*) $RM src/_autotst > > setopt shwordsplit > > $SHELL < > O="echo test" > > exec 2>$DEVNULL 1>&2 > > \$O && echo test >src/_autotst > >HERE > > Shouldn't the setopt be inside the here document? Or, more simply, > drop the test and just use the setopt. Having not seen the rest of the script, I was assuming this got executed for any zsh and hence turns the option on globally. The test is then just for paranoia. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.