Hi list, I'm trying to do this on [EMAIL PROTECTED]
----------------------------------- bash-2.05b$ eval echo "love" love bash-2.05b$ exec echo "love" ----------------------------------- and the virtual terminal window dies, closing the xterm without even giving a error message. Then I tried [mv /bin/echo /bin/echo1], and I found it was that binary that got executed when I did [exec echo "love"] and not the internal "echo" command of bash. So I mv /bin/echo back and tried to run ----------------------------------- bash-2.05b$ /bin/echo "love" love ----------------------------------- As you can see this went on OK without any errors. a. From this I see that there is something wrong with bash's behaviour, or is it implemented like this for a reason? b. How come the Virtual Terminal window closed because a simple "exec", the man page says it should exit with no warning when working in non-interactive shell, but I've been fully interactive so what's up with that? c. The man page says also something about "the shell option execfail is enabled" - How do I enable this option & how should I then check for it's return value? Thank you very much. -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? -- [email protected] mailing list
