diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index a46f8fedaf..a2a4a7c5b3 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: October 15, 2008
+ Last Updated: November 15, 2008
|
@@ -107,163 +107,169 @@
|
- 2.5 Echo Strings and Variables (echo)
+ 2.5 Copy and Convert Files (dd)
|
|
- 2.6 Execute User Code (exec)
+ 2.6 Echo Strings and Variables (echo)
|
|
- 2.7 Get File Via TFTP (get)
+ 2.7 Execute User Code (exec)
|
|
- 2.8 Exit NSH (exit)
+ 2.8 Get File Via TFTP (get)
|
|
- 2.9 Show Usage Command Usage (help)
+ 2.9 Exit NSH (exit)
|
|
- 2.10 Show Network Configuration (ifconfig)
+ 2.10 Show Usage Command Usage (help)
|
|
- 2.11 List Directory Contents (ls)
+ 2.11 Show Network Configuration (ifconfig)
|
|
- 2.12 Access Memory (mb, mh, and mw)
+ 2.12 List Directory Contents (ls)
|
|
- 2.13 Show Memory Manager Status (mem)
+ 2.13 Access Memory (mb, mh, and mw)
|
|
- 2.14 Show Current Tasks and Threads (ps)
+ 2.14 Show Memory Manager Status (mem)
|
|
- 2.15 Create a Directory (mkdir)
+ 2.15 Show Current Tasks and Threads (ps)
|
|
- 2.16 Create a FAT Filesystem (mkfatfs)
+ 2.16 Create a Directory (mkdir)
|
|
- 2.17 Create a FIFO (mkfifo)
+ 2.17 Create a FAT Filesystem (mkfatfs)
|
|
- 2.18 Create a RAMDISK (mkrd)
+ 2.18 Create a FIFO (mkfifo)
|
|
- 2.19 Mount a File System (mount)
+ 2.19 Create a RAMDISK (mkrd)
|
|
- 2.20 Check Network Peer (ping)
+ 2.20 Mount a File System (mount)
|
|
- 2.21 Send File Via TFTP (put)
+ 2.21 Check Network Peer (ping)
|
|
- 2.22 Show Current Working Directory (pwd)
+ 2.22 Send File Via TFTP (put)
|
|
- 2.23 Remove a File (rm)
+ 2.23 Show Current Working Directory (pwd)
|
|
- 2.24 Remove a Directory (rmdir)
+ 2.24 Remove a File (rm)
|
|
- 2.25 Set an Environment Variable (set)
+ 2.25 Remove a Directory (rmdir)
|
|
- 2.26 Execute an NSH Script (sh)
+ 2.26 Set an Environment Variable (set)
|
|
- 2.27 Wait for Seconds (sleep)
+ 2.27 Execute an NSH Script (sh)
|
|
- 2.28 Unmount a File System (umount)
+ 2.28 Wait for Seconds (sleep)
|
|
- 2.29 Unset an Environment Variable (unset)
+ 2.29 Unmount a File System (umount)
|
|
- 2.30 Wait for Microseconds (usleep)
+ 2.30 Unset an Environment Variable (unset)
|
|
- 2.31 Hexadecimal Dump (xd)
+ 2.31 Wait for Microseconds (usleep)
+ |
+
+
+
|
+
+ 2.32 Hexadecimal Dump (xd)
|
@@ -730,14 +736,37 @@ cp <source-path> <dest-path>
Synopsis.
- Copy of the contents of the file at <source-path<
to the location
- in the filesystem indicated by <path-path>
.
+ Copy of the contents of the file at <source-path>
to the location
+ in the filesystem indicated by <dest-path>
.
+
+Command Syntax:
+
+dd if=<infile> of=<outfile> [bs=<sectsize>] [count=<sectors>] [skip=<sectors>]
+
+
+ Synopsis.
+ Copy blocks from <infile> to <outfile>. As an example:
+
+nsh> dd if=/dev/zero of=/tmp/zeros bs=64 count=16
+nsh> ls -l /tmp
+/tmp:
+ -rw-rw-rw- 1024 ZEROS
+
+
+
+
@@ -755,7 +784,7 @@ echo [<string|$name> [<string|$name>...]]
@@ -774,7 +803,7 @@ exec <hex-address>
@@ -809,7 +838,7 @@ get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
@@ -828,7 +857,7 @@ exit
@@ -845,7 +874,7 @@ help
@@ -871,7 +900,7 @@ eth0 HWaddr 00:18:11:80:10:06
@@ -908,7 +937,7 @@ ls [-lRs] <dir-path>
@@ -962,7 +991,7 @@ nsh>
@@ -1011,7 +1040,7 @@ nsh>
@@ -1037,7 +1066,7 @@ nsh>
@@ -1072,7 +1101,7 @@ nsh>
@@ -1092,7 +1121,7 @@ mkfatfs <path>
@@ -1130,7 +1159,7 @@ nsh>
@@ -1181,7 +1210,7 @@ nsh>
@@ -1248,7 +1277,7 @@ nsh>
@@ -1281,7 +1310,7 @@ nsh>
@@ -1316,7 +1345,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -1346,7 +1375,7 @@ nsh>
@@ -1380,7 +1409,7 @@ nsh>
@@ -1415,7 +1444,7 @@ nsh>
@@ -1441,7 +1470,7 @@ nsh>
@@ -1459,7 +1488,7 @@ sh <script-path>
@@ -1476,7 +1505,7 @@ sleep <sec>
@@ -1506,7 +1535,7 @@ nsh>
@@ -1532,7 +1561,7 @@ nsh>
@@ -1549,7 +1578,7 @@ usleep <usec>
@@ -1632,6 +1661,11 @@ nsh>
CONFIG_NFILE_DESCRIPTORS > 0 |
CONFIG_EXAMPLES_NSH_DISABLE_CP |
+
+ dd |
+ CONFIG_NFILE_DESCRIPTORS > 0 |
+ CONFIG_EXAMPLES_NSH_DISABLE_DD |
+
echo |
|
@@ -2076,6 +2110,7 @@ nsh>
Configuration settings, NSH-specific
cp
Current working directory
+ dd
echo
Environment Variables
/etc/init.d/rcS
diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index 9204f3454c..a26f2e55e8 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -1195,6 +1195,7 @@ nuttx-0.3.18 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
into very small memory footprints.
* Added a block to character (BCH) driver. This is kind of the reverse of the loop
device; it allows you access a block device like a character device.
+ * NSH: Added 'dd' command
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>