On 02/09/2025 at 16:40, Martin D Kealey wrote:
On Tue, 2 Sep 2025, 03:55 Chet Ramey, <[email protected]> wrote:

On 9/1/25 2:54 AM, Martin D Kealey wrote:
     - Brackets always ensure a subshell.
Parentheses. Brackets are [ and ] in bash and POSIX nomenclature.


Sorry, dialectic slip of the tongue.
I did indeed mean parentheses.

Being told for 12 years of childhood that () are "brackets"  sometimes
inadvertently surfaces even decades later.

-Martin


Perhaps there should be some sort of definition at the top of the manual.
Something like: In this manual [ ] are brackets, ( ) are parentheses, { } are curly braces ... etc.
Perhaps also: shopt options compiled in raw bash are: extglob off ... etc.

--
Chris Elvidge
England


Reply via email to