summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger2005-04-16 04:23:58 +0000
committerMike Frysinger2005-04-16 04:23:58 +0000
commit5c63a729681991c86fc94fbe6f9f18b8cf876810 (patch)
tree6854547a2647610b216b687d9409575926d7fa2a /include
parent3cc01a80a33f659bb6ff42f0fd618d6d3059b4c8 (diff)
downloadbusybox-5c63a729681991c86fc94fbe6f9f18b8cf876810.zip
busybox-5c63a729681991c86fc94fbe6f9f18b8cf876810.tar.gz
In Bug 207, bernhardf writes:
proper escape strings in usage.h
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index 940d0de..6d594dc 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -523,13 +523,13 @@
"\t-e\tinterpret backslash-escaped characters (i.e., \\t=tab)\n" \
"\t-E\tdisable interpretation of backslash-escaped characters")
#define echo_example_usage \
- "$ echo "Erik is cool"\n" \
+ "$ echo \"Erik is cool\"\n" \
"Erik is cool\n" \
- USAGE_FANCY_ECHO("$ echo -e "Erik\\nis\\ncool"\n" \
+ USAGE_FANCY_ECHO("$ echo -e \"Erik\\nis\\ncool\"\n" \
"Erik\n" \
"is\n" \
"cool\n" \
- "$ echo "Erik\\nis\\ncool"\n" \
+ "$ echo \"Erik\\nis\\ncool\"\n" \
"Erik\\nis\\ncool\n")
#define env_trivial_usage \
@@ -752,7 +752,7 @@
"$ cat getopt.test\n" \
"#!/bin/sh\n" \
"GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
- " -n 'example.busybox' -- "$@"`\n" \
+ " -n 'example.busybox' -- \"$@\"`\n" \
"if [ $? != 0 ] ; then exit 1 ; fi\n" \
"eval set -- "$GETOPT"\n" \
"while true ; do\n" \
@@ -1948,7 +1948,7 @@
"Formats and prints ARGUMENT(s) according to FORMAT,\n" \
"Where FORMAT controls the output exactly as in C printf."
#define printf_example_usage \
- "$ printf "Val=%d\\n" 5\n" \
+ "$ printf \"Val=%d\\n\" 5\n" \
"Val=5\n"
#ifdef CONFIG_SELINUX