summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@isonoe.(none)>2007-10-19 21:35:46 +0200
committerJuergen Beisert <jbe@isonoe.(none)>2007-10-19 21:35:46 +0200
commit30e09b83d5f775b54c053d4450a77d2cbe81e737 (patch)
tree09689a9bd1193d6c01adb86656881879cbea5e40 /common/hush.c
parent44630acd4ad37ff2d9e620ffa83b3add369a6bd0 (diff)
downloadbarebox-30e09b83d5f775b54c053d4450a77d2cbe81e737.tar.gz
barebox-30e09b83d5f775b54c053d4450a77d2cbe81e737.tar.xz
shell info added
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c44
1 files changed, 24 insertions, 20 deletions
diff --git a/common/hush.c b/common/hush.c
index f6d4133eab..d85f85718f 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -25,26 +25,6 @@
* miscellaneous bugfixes from Matt Kraai
*/
-/**
- * @file
- * @brief A prototype Bourne shell grammar parser
- */
-
-/** @page sh_command Starting shell
- *
- * Usage: sh <filename> [<arguments>]
- *
- * Execute a shell script named <filename> and forward (if given)
- * <arguments> to it.
- *
- * Usage: . <filename> [<arguments>]
- * or source <filename> [<arguments>]
- *
- * Read and execute commands from <filename> in the current shell environment,
- * forward (if given) <arguments> to it and return the exit status of the last
- * command executed from filename.
- */
-
/** @page shell_notes Simple Shell Environment: Hush
*
* @par Notes from the source:
@@ -108,6 +88,10 @@
*
* - redirecting (stdout to a file for example)
* - recursion
+ *
+ * Enable the "Hush parser" in "General Settings", "Select your shell" to
+ * get the new console feeling.
+ *
*/
/*
@@ -1582,3 +1566,23 @@ U_BOOT_CMD_START(source)
.usage = "execute shell script in current shell environment",
U_BOOT_CMD_HELP(cmd_source_help)
U_BOOT_CMD_END
+
+/**
+ * @file
+ * @brief A prototype Bourne shell grammar parser
+ */
+
+/** @page sh_command Starting shell
+ *
+ * Usage: sh <filename> [<arguments>]
+ *
+ * Execute a shell script named <filename> and forward (if given)
+ * <arguments> to it.
+ *
+ * Usage: . <filename> [<arguments>]
+ * or source <filename> [<arguments>]
+ *
+ * Read and execute commands from <filename> in the current shell environment,
+ * forward (if given) <arguments> to it and return the exit status of the last
+ * command executed from filename.
+ */