aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.h26
-rw-r--r--include/xatonum.h2
2 files changed, 14 insertions, 14 deletions
diff --git a/include/usage.h b/include/usage.h
index 9c77c70d8..679c3476b 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -417,7 +417,7 @@
417 " -m show min and max priorities" 417 " -m show min and max priorities"
418 418
419#define chrt_example_usage \ 419#define chrt_example_usage \
420 "$ chrt -r 4 sleep 900 ; x=$!\n" \ 420 "$ chrt -r 4 sleep 900; x=$!\n" \
421 "$ chrt -f -p 3 $x\n" \ 421 "$ chrt -f -p 3 $x\n" \
422 "You need CAP_SYS_NICE privileges to set scheduling attributes of a process" 422 "You need CAP_SYS_NICE privileges to set scheduling attributes of a process"
423 423
@@ -1105,19 +1105,19 @@
1105 "#!/bin/sh\n" \ 1105 "#!/bin/sh\n" \
1106 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \ 1106 "GETOPT=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \\\n" \
1107 " -n 'example.busybox' -- \"$@\"`\n" \ 1107 " -n 'example.busybox' -- \"$@\"`\n" \
1108 "if [ $? != 0 ] ; then exit 1 ; fi\n" \ 1108 "if [ $? != 0 ]; then exit 1; fi\n" \
1109 "eval set -- \"$GETOPT\"\n" \ 1109 "eval set -- \"$GETOPT\"\n" \
1110 "while true ; do\n" \ 1110 "while true; do\n" \
1111 " case $1 in\n" \ 1111 " case $1 in\n" \
1112 " -a|--a-long) echo \"Option a\" ; shift ;;\n" \ 1112 " -a|--a-long) echo \"Option a\"; shift;;\n" \
1113 " -b|--b-long) echo \"Option b, argument '$2'\" ; shift 2 ;;\n" \ 1113 " -b|--b-long) echo \"Option b, argument '$2'\"; shift 2;;\n" \
1114 " -c|--c-long)\n" \ 1114 " -c|--c-long)\n" \
1115 " case \"$2\" in\n" \ 1115 " case \"$2\" in\n" \
1116 " \"\") echo \"Option c, no argument\"; shift 2 ;;\n" \ 1116 " \"\") echo \"Option c, no argument\"; shift 2;;\n" \
1117 " *) echo \"Option c, argument '$2'\" ; shift 2 ;;\n" \ 1117 " *) echo \"Option c, argument '$2'\"; shift 2;;\n" \
1118 " esac ;;\n" \ 1118 " esac;;\n" \
1119 " --) shift ; break ;;\n" \ 1119 " --) shift; break;;\n" \
1120 " *) echo \"Internal error!\" ; exit 1 ;;\n" \ 1120 " *) echo \"Internal error!\"; exit 1;;\n" \
1121 " esac\n" \ 1121 " esac\n" \
1122 "done\n" 1122 "done\n"
1123 1123
@@ -2867,10 +2867,10 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
2867 "$ run-parts -a stop=now /etc/init.d\n\n" \ 2867 "$ run-parts -a stop=now /etc/init.d\n\n" \
2868 "Let's assume you have a script foo/dosomething:\n" \ 2868 "Let's assume you have a script foo/dosomething:\n" \
2869 "#!/bin/sh\n" \ 2869 "#!/bin/sh\n" \
2870 "for i in $*; do eval $i; done ; unset i\n" \ 2870 "for i in $*; do eval $i; done; unset i\n" \
2871 "case \"$1\" in\n" \ 2871 "case \"$1\" in\n" \
2872 "start*) echo starting something ;;\n" \ 2872 "start*) echo starting something;;\n" \
2873 "stop*) set -x ; shutdown -h $stop ;;\n" \ 2873 "stop*) set -x; shutdown -h $stop;;\n" \
2874 "esac\n\n" \ 2874 "esac\n\n" \
2875 "Running this yields:\n" \ 2875 "Running this yields:\n" \
2876 "$run-parts -a stop=+4m foo/\n" \ 2876 "$run-parts -a stop=+4m foo/\n" \
diff --git a/include/xatonum.h b/include/xatonum.h
index e613fce6b..387545518 100644
--- a/include/xatonum.h
+++ b/include/xatonum.h
@@ -18,7 +18,7 @@ unsigned type xato##UT##_range_sfx(const char *str, unsigned type l, unsigned ty
18unsigned type xato##UT##_range(const char *str, unsigned type l, unsigned type u); \ 18unsigned type xato##UT##_range(const char *str, unsigned type l, unsigned type u); \
19unsigned type xato##UT##_sfx(const char *str, const struct suffix_mult *sfx); \ 19unsigned type xato##UT##_sfx(const char *str, const struct suffix_mult *sfx); \
20unsigned type xato##UT(const char *str); \ 20unsigned type xato##UT(const char *str); \
21type xstrto##T##_range_sfx(const char *str, int b, type l, type u, const struct suffix_mult *sfx) ;\ 21type xstrto##T##_range_sfx(const char *str, int b, type l, type u, const struct suffix_mult *sfx); \
22type xstrto##T##_range(const char *str, int b, type l, type u); \ 22type xstrto##T##_range(const char *str, int b, type l, type u); \
23type xato##T##_range_sfx(const char *str, type l, type u, const struct suffix_mult *sfx); \ 23type xato##T##_range_sfx(const char *str, type l, type u, const struct suffix_mult *sfx); \
24type xato##T##_range(const char *str, type l, type u); \ 24type xato##T##_range(const char *str, type l, type u); \