On Tue, Feb 16, 2021 at 5:34 PM Koichi Murase <myoga.mur...@gmail.com>
wrote:

> Maybe Bash could insist that [[ ... ]] and ((...)) are not part of the
> standard so that it can behave inconsistently.  But it seems to me
> that there is really no reason to behave inconsistently here.
>

They resemble `[ ... ]' (I know it's a simple command, but still), maybe
that's why. I think it'd seem more inconsistent to ordinary user if

  if [[ x ]] then [[ x ]] fi

worked but

  if [ x ] then [ x ] fi

didn't.

Reply via email to