diff options
author | John Beppu <beppu@lbox.org> | 2000-06-21 19:06:16 +0000 |
---|---|---|
committer | John Beppu <beppu@lbox.org> | 2000-06-21 19:06:16 +0000 |
commit | 0021679b0dc5767e0c023b28b36eeb1476dc2364 (patch) | |
tree | 04ff8031a2151a0f95040bbc4bdf2f616d68a540 /docs/busybox.pod | |
parent | b405dfa54df117201d93dcb7d24e9e9873737da6 (diff) |
+ added dc (aka the function formerly known as math)
+ did all the housekeeping that this change requires.
Diffstat (limited to 'docs/busybox.pod')
-rw-r--r-- | docs/busybox.pod | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod index 8b1b7155f..75763d33f 100644 --- a/docs/busybox.pod +++ b/docs/busybox.pod @@ -313,6 +313,32 @@ Example: ------------------------------- +=item dc + +Usage: dc expression ... + +This is a Tiny RPN calculator that understands the +following operations: +, -, /, *, and, or, not, eor. +If no arguments are given, dc will process input from STDIN. + +The behaviour of BusyBox/dc deviates (just a little ;-) from +GNU/dc, but this will be remedied in the future. + +Example: + + $ dc 2 2 + + 4 + $ dc 8 8 \* 2 2 + / + 16 + $ dc 0 1 and + 0 + $ dc 0 1 or + 1 + $ echo 72 9 div 8 mul | dc + 64 + +------------------------------- + =item dd Usage: dd [if=name] [of=name] [bs=n] [count=n] [skip=n] [seek=n] @@ -1012,29 +1038,6 @@ Example: ------------------------------- -=item math - -Usage: math expression ... - -This is a Tiny RPN calculator that understands the -following operations: +, -, /, *, and, or, not, eor. -If no arguments are given, math will process input from STDIN. - -Example: - - $ math 2 2 + - 4 - $ math 8 8 \* 2 2 + / - 16 - $ math 0 1 and - 0 - $ math 0 1 or - 1 - $ echo 72 9 / | math - 8 - -------------------------------- - =item md5sum Usage: md5sum [OPTION] [file ...] @@ -2021,4 +2024,4 @@ Enrique Zanardi <ezanardi@ull.es> =cut -# $Id: busybox.pod,v 1.43 2000/06/20 00:11:07 proski Exp $ +# $Id: busybox.pod,v 1.44 2000/06/21 19:06:16 beppu Exp $ |