Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Procmail rejects zsh as being "broken"
- X-seq: zsh-workers 1859
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: procmail Mailing List <procmail@xxxxxxxxxxxxxxxxxxxxxxxxx>, Zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Procmail rejects zsh as being "broken"
- Date: Thu, 1 Aug 1996 12:28:50 +0400 (MOW)
- Reply-to: borsenkow.msk@xxxxxx
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@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author