[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible bug in Bash Reference Manual - lists of commands
From: |
Greg Wooledge |
Subject: |
Re: Possible bug in Bash Reference Manual - lists of commands |
Date: |
Wed, 22 May 2019 08:48:22 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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.