diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index c35cb371da0..603ae759d7a 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: January 10, 2014
+ Last Updated: January 17, 2014
|
@@ -52,25 +52,31 @@
|
- 1.4 Built-In Variables
+ 1.4 Looping
|
|
- 1.5 Current Working Directory
+ 1.5 Built-In Variables
|
|
- 1.6 Environment Variables
+ 1.6 Current Working Directory
|
|
- 1.7 NSH Start-Up Script
+ 1.7 Environment Variables
+ |
+
+
+
|
+
+ 1.8 NSH Start-Up Script
|
@@ -605,7 +611,28 @@ fi
+
+
+ while-do-done and until-do-done looping constructs are also supported.
+ These works from the command line but are primarily intended for use within NSH scripts
+ (see the sh command).
+ The syntax is as follows:
+
+
+ while <test-cmd>; do <cmd-sequence>; done
+ - Execute
<cmd-sequence> as long as <test-cmd> has an exit status of zero.
+ until <test-cmd>; do <cmd-sequence>; done
+ - Execute
<cmd-sequence> as long as <test-cmd> has a non-zero exit status.
+
+
+
@@ -623,7 +650,7 @@ fi
@@ -641,7 +668,7 @@ fi
@@ -661,7 +688,7 @@ fi