Bash shell support?
Aurelien Jacobs
aurel at gnuage.org
Thu Aug 24 19:20:36 UTC 2006
On Thu, 24 Aug 2006 14:55:55 -0400
Rob Landley <rob at landley.net> wrote:
> Speaking of which, on page 7 of the bash man page under the [[ expression ]]
> bit, does anybody know what "The return value is 0 if the string matches or
> does not match the pattern, respectively, and 1 otherwise." actually _MEANS_?
> I'm guessing they meant was "the return value is 0 if the string matches the
> pattern, and 1 if it does not match the pattern." That's how I plan to code
> it, anyway.
Here is what my man bash says (bash version 3.1):
"The return value is 0 if the string matches the pattern, and 1 otherwise."
So it seems your gess was right, but the bash man page you read may be
outdated ?
Aurel
More information about the busybox
mailing list