diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index 78a5651074..f8ef41fb96 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: October 20, 2012
+ Last Updated: October 31, 2012
|
@@ -89,229 +89,259 @@
|
- 2.2 Concatenate Files (cat)
+ 2.2 Base64 Decode (base64dec)
|
|
- 2.3 Change Current Working Directory (cd)
+ 2.3 Base64 Encode (base64enc)
|
|
- 2.4 Copy Files (cp)
+ 2.4 Concatenate Files (cat)
|
|
- 2.5 Show or set the date and time (date)
+ 2.5 Change Current Working Directory (cd)
|
|
- 2.6 Copy and Convert Files (dd)
+ 2.6 Copy Files (cp)
|
|
- 2.7 Show volume status (df)
+ 2.7 Show or set the date and time (date)
|
|
- 2.8 Echo Strings and Variables (echo)
+ 2.8 Copy and Convert Files (dd)
|
|
- 2.9 Execute User Code (exec)
+ 2.9 Show volume status (df)
|
|
- 2.10 Exit NSH (exit)
+ 2.10 Echo Strings and Variables (echo)
|
|
- 2.11 Show Memory Manager Status (free)
+ 2.11 Execute User Code (exec)
|
|
- 2.12 Get File Via TFTP (get)
+ 2.12 Exit NSH (exit)
|
|
- 2.13 Show Usage Command Usage (help)
+ 2.13 Show Memory Manager Status (free)
|
|
- 2.14 Show Network Configuration (ifconfig)
+ 2.14 Get File Via TFTP (get)
|
|
- 2.15 Send a signal to a task (kill)
+ 2.15 Show Usage Command Usage (help)
|
|
- 2.16 Setup/teardown the Loop Device (losetup)
+ 2.16 Show Network Configuration (ifconfig)
|
|
- 2.17 List Directory Contents (ls)
+ 2.17 Send a signal to a task (kill)
|
|
- 2.18 Access Memory (mb, mh, and mw)
+ 2.18 Setup/teardown the Loop Device (losetup)
|
|
- 2.19 Show Current Tasks and Threads (ps)
+ 2.19 List Directory Contents (ls)
|
|
- 2.20 Create a Directory (mkdir)
+ 2.20 Calculate MD5 (md5)
|
|
- 2.21 Create a FAT Filesystem (mkfatfs)
+ 2.21 Access Memory (mb, mh, and mw)
|
|
- 2.22 Create a FIFO (mkfifo)
+ 2.22 Show Current Tasks and Threads (ps)
|
|
- 2.23 Create a RAMDISK (mkrd)
+ 2.23 Create a Directory (mkdir)
|
|
- 2.24 Mount a File System (mount)
+ 2.24 Create a FAT Filesystem (mkfatfs)
|
|
- 2.25 Rename a File (mv)
+ 2.25 Create a FIFO (mkfifo)
|
|
- 2.26 Mount an NFS file system (nfsmount)
+ 2.26 Create a RAMDISK (mkrd)
|
|
- 2.27 Check Network Peer (ping)
+ 2.27 Mount a File System (mount)
|
|
- 2.28 Send File Via TFTP (put)
+ 2.28 Rename a File (mv)
|
|
- 2.29 Show Current Working Directory (pwd)
+ 2.29 Mount an NFS file system (nfsmount)
|
|
- 2.30 Remove a File (rm)
+ 2.30 Check Network Peer (ping)
|
|
- 2.31 Remove a Directory (rmdir)
+ 2.31 Send File Via TFTP (put)
|
|
- 2.32 Set an Environment Variable (set)
+ 2.32 Show Current Working Directory (pwd)
|
|
- 2.33 Execute an NSH Script (sh)
+ 2.33 Remove a File (rm)
|
|
- 2.34 Wait for Seconds (sleep)
+ 2.34 Remove a Directory (rmdir)
|
|
- 2.35 Unmount a File System (umount)
+ 2.35 Set an Environment Variable (set)
|
|
- 2.36 Unset an Environment Variable (unset)
+ 2.36 Execute an NSH Script (sh)
|
|
- 2.37 Wait for Microseconds (usleep)
+ 2.37 Wait for Seconds (sleep)
|
|
- 2.38 Get File Via HTTP (wget)
+ 2.38 Unmount a File System (umount)
|
|
- 2.39 Hexadecimal Dump (xd)
+ 2.39 Unset an Environment Variable (unset)
+ |
+
+
+
|
+
+ 2.40 URL Decode (urldecode)
+ |
+
+
+
|
+
+ 2.41 URL Encode (urlencode)
+ |
+
+
+
|
+
+ 2.42 Wait for Microseconds (usleep)
+ |
+
+
+
|
+
+ 2.43 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.44 Hexadecimal Dump (xd)
|
@@ -750,7 +780,41 @@ test <expression>
+
+Command Syntax:
+
+base64dec [-w] [-f] <string or filepath>
+
+
+ Synopsis.
+ To be provided.
+
+
+
+
+Command Syntax:
+
+base64enc [-w] [-f] <string or filepath>
+
+
+ Synopsis.
+ To be provided.
+
+
+
@@ -768,7 +832,7 @@ cat <path>
[<path>
[<path>
- 2.3 Change Current Working Directory (cd)
+ 2.5 Change Current Working Directory (cd)
|
@@ -810,7 +874,7 @@ cd [<dir-path>|-|~|..]
@@ -828,7 +892,7 @@ cp <source-path> <dest-path>
@@ -855,7 +919,7 @@ data -s "Sep 1 11:30:00 2011"
@@ -913,7 +977,7 @@ nsh> dd if=/dev/ram0 of=/dev/null
@@ -941,7 +1005,7 @@ nsh>
@@ -959,7 +1023,7 @@ echo [<string|$name> [<string|$name>...]]
@@ -978,7 +1042,7 @@ exec <hex-address>
@@ -997,7 +1061,7 @@ exit
@@ -1039,7 +1103,7 @@ nsh>
@@ -1074,7 +1138,7 @@ get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
@@ -1106,7 +1170,7 @@ help [-v] [<cmd>]
@@ -1157,7 +1221,7 @@ ifconfig nic_name ip_address
@@ -1198,7 +1262,7 @@ nsh>
@@ -1251,7 +1315,7 @@ losetup d <dev-path>
@@ -1288,7 +1352,24 @@ ls [-lRs] <dir-path>
+
+Command Syntax:
+
+md5 [-f] <string or filepath>
+
+
+ Synopsis.
+ To be provided.
+
+
+
@@ -1342,7 +1423,7 @@ nsh>
@@ -1368,7 +1449,7 @@ nsh>
@@ -1403,7 +1484,7 @@ nsh>
@@ -1423,7 +1504,7 @@ mkfatfs <path>
@@ -1461,7 +1542,7 @@ nsh>
@@ -1512,7 +1593,7 @@ nsh>
@@ -1591,7 +1672,7 @@ nsh> mount
@@ -1609,7 +1690,7 @@ mv <old-path> <new-path>
@@ -1628,7 +1709,7 @@ nfsmount <server-address> <mount-point> <remote-path>
@@ -1661,7 +1742,7 @@ nsh>
@@ -1696,7 +1777,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -1726,7 +1807,7 @@ nsh>
@@ -1760,7 +1841,7 @@ nsh>
@@ -1795,7 +1876,7 @@ nsh>
@@ -1821,7 +1902,7 @@ nsh>
@@ -1839,7 +1920,7 @@ sh <script-path>
@@ -1856,7 +1937,7 @@ sleep <sec>
@@ -1886,7 +1967,7 @@ nsh>
@@ -1912,7 +1993,41 @@ nsh>
+
+Command Syntax:
+
+urldecode [-f] <string or filepath>
+
+
+ Synopsis.
+ To be provided.
+
+
+
+
+Command Syntax:
+
+urlencode [-f] <string or filepath>
+
+
+ Synopsis.
+ To be provided.
+
+
+
@@ -1929,7 +2044,7 @@ usleep <usec>
@@ -1956,7 +2071,7 @@ wget [-o <local-path>] <url>
@@ -2024,6 +2139,16 @@ nsh>
!CONFIG_NSH_DISABLESCRIPT |
CONFIG_NSH_DISABLE_TEST |
+
+ base64dec |
+ CONFIG_NETUTILS_CODECS && CONFIG_CODECS_BASE64 |
+ CONFIG_NSH_DISABLE_BASE64DEC |
+
+
+ base64enc |
+ CONFIG_NETUTILS_CODECS && CONFIG_CODECS_BASE64 |
+ CONFIG_NSH_DISABLE_BASE64ENC |
+
cat |
CONFIG_NFILE_DESCRIPTORS > 0 |
@@ -2105,6 +2230,11 @@ nsh>
CONFIG_NFILE_DESCRIPTORS > 0 |
CONFIG_NSH_DISABLE_LS |
+
+ md5 |
+ CONFIG_NETUTILS_CODECS && CONFIG_CODECS_HASH_MD5 |
+ CONFIG_NSH_DISABLE_MD5 |
+
mb,mh,mw |
|
@@ -2212,6 +2342,16 @@ nsh>
!CONFIG_DISABLE_ENVIRON |
CONFIG_NSH_DISABLE_UNSET |
+
+ urldecode |
+ !CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE
+ | CONFIG_NSH_DISABLE_URLDECODE |
+
+
+ urlencode |
+ !CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE
+ | CONFIG_NSH_DISABLE_URLENCODE |
+
usleep |
!CONFIG_DISABLE_SIGNALS |
@@ -3517,6 +3657,8 @@ mount -t vfat /dev/ram1 /tmp
binfs
Built-In applications
Built-in variables
+ base64dec
+ base64enc
cat
cd
Command summaries
@@ -3597,6 +3739,7 @@ mount -t vfat /dev/ram1 /tmp
losetup
ls
mb
+ md5
mh
mw
mkdir
@@ -3652,6 +3795,8 @@ mount -t vfat /dev/ram1 /tmp
unset
up_cxxinitialize()
up_nsh.c
+ urldecode
+ urlencode
usleep
waitpid()
wget