bug-bash
[Top][All Lists]
Advanced

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

Re: AND list "command1 && command2" doesn't work as expected


From: Chet Ramey
Subject: Re: AND list "command1 && command2" doesn't work as expected
Date: Fri, 15 Oct 2004 16:50:11 -0400

> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
>       The bash script "Example 26-14. Emulating a push-down stack" from
> "http://www.tldp.org/LDP/abs/html/arrays.html"; works fine and there is
> an excercise to modify the code to support multiple element push and
> pop. The homework I did works fine until I took for granted the logical
> equivalence AND list should give the same result. Detail follows:

I can't reproduce any problem using bash-2.05b or bash-3.0.13 (patched).
I get the same results no matter which version or which construct I use.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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