zsh-workers
 help / color / mirror / code / Atom feed
* Procmail rejects zsh as being "broken"
@ 1996-08-01  8:28 Andrej Borsenkow
  1996-08-01  8:40 ` Peter Stephenson
  1996-08-01 11:29 ` Stephen R. van den Berg
  0 siblings, 2 replies; 16+ messages in thread
From: Andrej Borsenkow @ 1996-08-01  8:28 UTC (permalink / raw)
  To: procmail Mailing List, Zsh workers mailing list

Hi!

I recently installed procmail-3.11pre4 under zsh-3.0pre4. When running
'make init' procmail gave me warning, that `/opt/local/bin/zsh is broken'.
I checked initmake script and here is relevant part:

case "$SHELL" in
 ...
       *zsh*) $RM src/_autotst
            $SHELL <<HERE
            O="echo test >src/_autotst"
            exec 2>$DEVNULL
            \$O
HERE                                                                            
           if test ! -f src/_autotst                                            
           then
              echo "Warning: your $SHELL is broken, avoiding it"; SHELL=""
           fi ;;

The test seems to imply, that in
% foo="echo test > test"
% $foo

the line is to be rescanned for I/O redirections *after* foo is expanded. 
I am not aware of any shell to behave this way. 

Do I  miss something? What is the sense of this test? And why it is done
only for zsh ;)?

thanks in advance

greetings

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~1996-08-02  1:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-01  8:28 Procmail rejects zsh as being "broken" Andrej Borsenkow
1996-08-01  8:40 ` Peter Stephenson
1996-08-01 11:29 ` Stephen R. van den Berg
1996-08-01 11:43   ` Peter Stephenson
1996-08-01 12:04     ` Zefram
1996-08-01 12:11       ` Peter Stephenson
1996-08-01 12:33         ` Zefram
1996-08-01 13:00           ` Peter Stephenson
1996-08-01 12:23     ` Stephen R. van den Berg
1996-08-01 13:02       ` Zoltan Hidvegi
1996-08-01 13:07         ` Bruce Stephens
1996-08-01 14:44         ` Stephen R. van den Berg
1996-08-01 14:59           ` Zoltan Hidvegi
1996-08-02  0:54             ` Zefram
1996-08-02  0:59           ` Zefram
1996-08-02  1:20             ` Stephen R. van den Berg

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).