help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Interesting consequence of Bash's grammar


From: Evan Gates
Subject: Re: [Help-bash] Interesting consequence of Bash's grammar
Date: Thu, 27 Aug 2015 12:20:31 -0700

On Thu, Aug 27, 2015 at 9:09 AM, Ioan-Andrei Bârsan
> shell_command can, among other things, be the `{ ... }` group command, but
> it can also be an if statement, or a while loop (see line 760).

This is specified by POSIX.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04

-emg



reply via email to

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