help-bash
[Top][All Lists]
Advanced

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

Re: unexpected behavior


From: Christof Warlich
Subject: Re: unexpected behavior
Date: Thu, 12 Jan 2023 20:32:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

> ...
> Paraphrasing slightly, "each command in a multi-command pipeline,
where pipes are created, is executed in its own subshell, which is a
separate process."
> ...

> ...
> It's unwise to mix && and || in a single command. Some people
believethat the following two script fragments are equivalent:
> ...


Thanks a lot, I learned quite a bit today, which is amazing after
scripting for such a long time :-)




reply via email to

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