[Top][All Lists]

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

Re: Unhelpful behaviors in 4.2.10(1)

From: Linda Walsh
Subject: Re: Unhelpful behaviors in 4.2.10(1)
Date: Sat, 09 Jun 2012 00:05:53 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20100228 Lightning/0.9 Thunderbird/ Mnenhy/

Pierre Gaston wrote:

trap backtrace ERR
set -T

To sum up ". sdf2"  is returning 1
Bash considers . to be a simple command even though what's really
executed is [[ $# -ge 2 ]] && echo hello.
        Right.... It's NOT a simple command.

        I am trapping on ERR, not 'anything' that is not zero.

Of all the stupid definitions... you have 256 useful values to return, and some
idiots decide 255 of them should be reserved for fatal errors (even when they 
not errors)...

        Is this even fixable?

reply via email to

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