[BusyBox-cvs] CVS update of busybox/include (usage.h)
Erik Andersen
andersen at codepoet.org
Wed Aug 18 17:57:17 UTC 2004
Date: Wednesday, August 18, 2004 @ 11:57:17
Author: andersen
Path: /var/cvs/busybox/include
Modified: usage.h (1.218 -> 1.219)
Fixup 'dc' usage
Index: busybox/include/usage.h
diff -u busybox/include/usage.h:1.218 busybox/include/usage.h:1.219
--- busybox/include/usage.h:1.218 Fri Jul 23 00:06:21 2004
+++ busybox/include/usage.h Wed Aug 18 11:57:16 2004
@@ -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 \
More information about the busybox-cvs
mailing list