bug-bash
[Top][All Lists]
Advanced

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

Re: Bash style of if-then-else?


From: Sven Mascheck
Subject: Re: Bash style of if-then-else?
Date: Fri, 24 Sep 2010 13:32:38 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Sep 24, 2010 at 11:28:50AM +0200, Sven Mascheck wrote:

> >      test x && test y || test z
> which, on the other hand, people sometimes use as replacement for
>    if test x; then test y; else test z; fi
> although it behaves differently. In the former, test z is also

Oh dear, it was discussed already and I managed to miss that.



reply via email to

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