aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-20 18:04:20 -0500
committerRob Landley <rob@landley.net>2007-01-20 18:04:20 -0500
commit24d1d45ee901e74b3388e7053543eb16aea09ada (patch)
treee856611181383d9ca55f0d190b1de9941274ee1b /toys/Config.in
parent125a2c74f2ef9438b09930b208dd88bf7538bac8 (diff)
downloadtoybox-24d1d45ee901e74b3388e7053543eb16aea09ada.tar.gz
Add "echo". Has -n and -e (but not \0123 yet).
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/toys/Config.in b/toys/Config.in
index 570ad4cc..438785cd 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -57,6 +57,26 @@ config DF_PEDANTIC
-k Sets units back to 1024 bytes (the default without -P)
+config ECHO
+ bool "echo"
+ default n
+ help
+ usage: echo [-ne] [args...]
+
+ Write each argument to stdout, with one space between each, followed
+ by a newline.
+
+ -n No trailing newline.
+ -e Process the following escape sequences:
+ \\ backslash
+ \a alert (beep/flash)
+ \b backspace
+ \c Stop output here (avoids trailing newline)
+ \f form feed
+ \n newline
+ \r carriage return
+ \t horizontal tab
+ \v vertical tab
config HELLO
bool "hello"
default n