help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] && precedence


From: Russell Shaw
Subject: Re: [Help-bash] && precedence
Date: Thu, 10 Aug 2017 09:36:55 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0

On 10/08/17 03:42, DJ Mills wrote:
On Wed, Aug 9, 2017 at 10:35 AM, Russell Shaw <address@hidden>
wrote:

...

Correction: "Simple command" should have been "Pipeline".


Why wouldn't you just use if statements anyway? Chains of && and || are
horrific for readability and troubleshooting

Because i was writing C code that executes shell-like statement strings, so had to get the semantics right.



reply via email to

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