Chet Ramey wrote:
> Dave Rutherford wrote:
>
>> Now, "[[" isn't very well documented, so I tend not to use it,
>
> I'm always interested in suggestions for improving the bash documentation.
> Can you tell me what's unclear about the existing description of
> `[['?
>
> Chet
>
The documentation
Dave Rutherford wrote:
I know test's quirks. Does [[ have quirks? Are they the same?
Is there room in my grey matter to hold both sets of quirks
and keep them straight?
[[ was designed to remedy test's quirks, so it shouldn't really have
any of its own. In addition to the functionality prov
Chet Ramey wrote:
> Dave Rutherford wrote:
> > Now, "[[" isn't very well documented, so I tend not to use it,
>
> I'm always interested in suggestions for improving the bash documentation.
> Can you tell me what's unclear about the existing description of
> `[['?
It's probably my fault. I just do
Dave Rutherford wrote:
Now, "[[" isn't very well documented, so I tend not to use it,
I'm always interested in suggestions for improving the bash documentation.
Can you tell me what's unclear about the existing description of
`[['?
Chet
--
``The lyf so short, the craft so long to lerne.'' -
On Jan 10, 2008 3:13 PM, Frans de Boer <[EMAIL PROTECTED]> wrote:
> To: bug-bash@gnu.org
> Subject: Comparison failure
>
> Following is a function which fails constantly. The function is being
> called by other functions but the result is nowadays always this failure
>
Frans de Boer <[EMAIL PROTECTED]> writes:
> You where both right. It's the '<' versus -lt. I tend to avoid -lt
> because I always run into errors using this. Beside, in previous
> versions of Bash it did not give me this problem.
AFAICS all versions of bash that implement [[ ]] have always behave
Frans de Boer schrieb:
You where both right. It's the '<' versus -lt. I tend to avoid -lt
because I always run into errors using this. Beside, in previous
versions of Bash it did not give me this problem. But, i will give it a
try in other functions to see if it works now everywhere as expected.
:13 PM, Frans de Boer <[EMAIL PROTECTED]> wrote:
> > To: bug-bash@gnu.org
> > Subject: Comparison failure
> >
> > Following is a function which fails constantly. The function is being
> > called by other functions but the result is nowadays always this failure
>
On Jan 10, 2008 8:13 AM, Frans de Boer <[EMAIL PROTECTED]> wrote:
> Following is a function which fails constantly.
[...]
> if [[ $i != -1 && $i < $((iPriTblCnt-1)) ]]; then
> echo $((i+1));
> else
> echo -1
> fi
Now, "[[" isn't very well documented, so I tend not to use it,
but noti
To: bug-bash@gnu.org
Subject: Comparison failure
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACH
10 matches
Mail list logo