Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Procmail rejects zsh as being "broken"
- X-seq: zsh-workers 1867
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Procmail rejects zsh as being "broken"
- Date: Thu, 01 Aug 1996 14:11:27 +0200
- In-reply-to: "a.main@xxxxxxxxxxxxxxxxx"'s message of "Thu, 01 Aug 1996 13:04:10 MET."             <23075.199608011204@xxxxxxxxxxxxxxxxxxxxxxx> 
a.main@xxxxxxxxxxxxxxxxx wrote:
> >        *zsh*) $RM src/_autotst
> >	    setopt shwordsplit
> >            $SHELL <<HERE
> >            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 <pws@xxxxxx>       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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author