bug-bash
[Top][All Lists]
Advanced

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

Re: Docco


From: Phi Debian
Subject: Re: Docco
Date: Wed, 27 Mar 2024 10:50:46 +0100

On Wed, Mar 27, 2024 at 10:28 AM Andreas Kähäri <andreas.kahari@abc.se>
wrote:

> On Wed, Mar 27, 2024 at 10:00:06AM +0100, Phi Debian wrote:
> > $ man bash
>
> Would it not be untrue to say that "-a" is specific to "[[", as it is
> clearly not the case?  The fact that it is easy to confuse the two is
> a different matter, but the documentation is correct for the current
> implementation (which mimics the ksh shell with regards to the unary
> "-a" operator).
>
> --
> Andreas (Kusalananda) Kähäri
> Uppsala, Sweden
>
> .

Ok may be my wording is not correct, but yet it require a good reading
compile to get it right, first read all about [[ that is at the top of the
man (at 5%), then get the 'CONDITIONAL EXPRESSIONS' distingo between [[ vs
[ (at 40%) and finally get to 'test expr' (at 92%) to discover the whole
thing about -a vs -e (same for other options), a little heads up when quick
reading directly at 'CONDITIONAL EXPRESSIONS' would not hurt and not
jeopardise the docco semantic I guess?


reply via email to

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