aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-18 17:57:16 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-18 17:57:16 +0000
commit9ab4657c8908b923a2e4a1cae97e0471bb51809e (patch)
tree6fc4f76986e2bd9081cc3ed82c9c682810e1b37a
parentb36900c4b458eb369a0c292bf3d798f5ebc0866a (diff)
downloadbusybox-9ab4657c8908b923a2e4a1cae97e0471bb51809e.tar.gz
Fixup 'dc' usage
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index 5a351df44..c92c80ab0 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -299,15 +299,15 @@
"o - Pops the value off the top of the stack and uses it to set the output radix.\n" \
" Only 10 and 16 are supported."
#define dc_example_usage \
- "$ dc 2 2 +\n" \
+ "$ dc 2 2 + p\n" \
"4\n" \
- "$ dc 8 8 * 2 2 + /\n" \
+ "$ dc 8 8 \\* 2 2 + / p\n" \
"16\n" \
- "$ dc 0 1 and\n" \
+ "$ dc 0 1 and p\n" \
"0\n" \
- "$ dc 0 1 or\n" \
+ "$ dc 0 1 or p\n" \
"1\n" \
- "$ echo 72 9 div 8 mul | dc\n" \
+ "$ echo 72 9 div 8 mul p | dc\n" \
"64\n"
#define dd_trivial_usage \