On 2004-01-04, Georg Lutz wrote:
> I have done
> 
> strace -o out.txt -s 1024 -f /bin/bash -c 'for seq in 1 2; do if test
> "`eval echo ~$USERID`" != ~$USERID; then echo "123";fi;done'
> 
> since bash receives a SIGPIPE only the second time I issue the if-state.
> 

Interestingly with

strace -o out2.txt -s 1024 -f /bin/bash -c 'for seq in 1 2; do if(
test "`eval echo ~$USERID`" != ~$USERID); then echo "123";fi;done'

(note the brackets) I get no errors / SIGPIPEs .



-- 
Georg


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to