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
On Sat, Jun 9, 2012 at 10:05 AM, Linda Walsh wrote:
>
>
> 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.
>
> ---
> Rig
On 6/9/12 3:05 AM, Linda Walsh wrote:
>
>> 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.
To be clear: `.' is a shell builtin, with its own seman
Chet Ramey wrote:
On 6/9/12 3:05 AM, Linda Walsh wrote:
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.
To be clear: `.' is a shell builtin, with its