bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash does not jump where it is supposed to jump


From: William Tambe
Subject: bash does not jump where it is supposed to jump
Date: Fri, 18 Jan 2008 20:54:41 -0600
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

Please read the comments on the code below.
I don't know but is it really how bash was supposed to run?

The code below should only print end



[ "test" = "test" ] && {
        # after the false command bash should jump directly to echo end
        # but instead run echo echo "test != test"
        false
} || {
        echo "test != test"
}

echo end




reply via email to

[Prev in Thread] Current Thread [Next in Thread]