On Wed, May 22, 2019 at 02:38:29PM +0800, Ralph Jensen wrote:
> The Bash Reference Manual, Edition 5 and earlier versions define lists of
> commands as follows:
> 
> "A list is a sequence of one or more pipelines separated by one of the
> operators ..." (Bash Reference Manual 3.2.3).
> 
> Shouldn't that say commands rather than pipelines?

Seems correct as is.

wooledg:~$ if true|false; false|true; true|true; then echo "yes"; fi
yes

There's a sequence of three pipelines between "if" and "then".  Works
as expected.

Reply via email to