Georg Lutz writes:

To be more precicely, it fails when doing the following:
---
[EMAIL PROTECTED] root]# export USERID=mail
[EMAIL PROTECTED] root]# if test "`eval echo ~$USERID`" != ~$USERID; then
echo "123"; fi
123
[EMAIL PROTECTED] root]# if test "`eval echo ~$USERID`" != ~$USERID; then
echo "123"; fi
DatenÃbergabe unterbrochen (broken pipe)
---

Note that bash is exiting here!

I have no clue whats going on here...

Something is seriously broken in bash.

Try:

strace -s 1024 -f /bin/bash -c 'if test "`eval echo ~$USERID`" != ~$USERID; then echo "123"; fi'

And look in the output to figure out which process receives a SIGPIPE, and
why.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to