diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 90fa5075d4..39ad8ca19a 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -910,6 +910,12 @@ else fi +

+ Where <cmd> is a simple command. + The command success value of zero is treated true; a non-zero command failure value is treated false. + The test command is frequently used for comparisons. +

+
@@ -950,6 +956,11 @@ done +

+ Where <cmd> is a simple command. + The command success value of zero is treated true; a non-zero command failure value is treated false. + The test command is frequently used for comparisons. +

Note that while is equivalent to until if the command result is inverted.

@@ -1168,7 +1179,7 @@ mount -t vfat /dev/ram1 /tmp

Command Syntax:

    -[ <expression> ]
    +[ [!] <expression> ]
     test <expression>