On Sat, Apr 29, 2006 at 11:00:57PM +0300, Daniel Stone wrote: > Presumably: > [EMAIL PROTECTED]:~% set -e && printf '#!/bin/sh\n\ntest "$1" = "bar" || exit > 10\necho $1' > foo.sh && chmod +x foo.sh && for i in foo bar baz; do ./foo.sh > $i || continue; echo success; done && set +e > bar > success
Rock, thank you. I also managed to wrangle an unsuspecting user who wandered in to the irc channel to test the fix, so it looks like it's good to go. - David Nusinow -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]