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 | |
parent | b405dfa54df117201d93dcb7d24e9e9873737da6 (diff) | |
download | busybox-w32-0021679b0dc5767e0c023b28b36eeb1476dc2364.tar.gz busybox-w32-0021679b0dc5767e0c023b28b36eeb1476dc2364.tar.bz2 busybox-w32-0021679b0dc5767e0c023b28b36eeb1476dc2364.zip |
+ added dc (aka the function formerly known as math)
+ did all the housekeeping that this change requires.
Diffstat (limited to 'docs')
-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: | |||
313 | 313 | ||
314 | ------------------------------- | 314 | ------------------------------- |
315 | 315 | ||
316 | =item dc | ||
317 | |||
318 | Usage: dc expression ... | ||
319 | |||
320 | This is a Tiny RPN calculator that understands the | ||
321 | following operations: +, -, /, *, and, or, not, eor. | ||
322 | If no arguments are given, dc will process input from STDIN. | ||
323 | |||
324 | The behaviour of BusyBox/dc deviates (just a little ;-) from | ||
325 | GNU/dc, but this will be remedied in the future. | ||
326 | |||
327 | Example: | ||
328 | |||
329 | $ dc 2 2 + | ||
330 | 4 | ||
331 | $ dc 8 8 \* 2 2 + / | ||
332 | 16 | ||
333 | $ dc 0 1 and | ||
334 | 0 | ||
335 | $ dc 0 1 or | ||
336 | 1 | ||
337 | $ echo 72 9 div 8 mul | dc | ||
338 | 64 | ||
339 | |||
340 | ------------------------------- | ||
341 | |||
316 | =item dd | 342 | =item dd |
317 | 343 | ||
318 | Usage: dd [if=name] [of=name] [bs=n] [count=n] [skip=n] [seek=n] | 344 | Usage: dd [if=name] [of=name] [bs=n] [count=n] [skip=n] [seek=n] |
@@ -1012,29 +1038,6 @@ Example: | |||
1012 | 1038 | ||
1013 | ------------------------------- | 1039 | ------------------------------- |
1014 | 1040 | ||
1015 | =item math | ||
1016 | |||
1017 | Usage: math expression ... | ||
1018 | |||
1019 | This is a Tiny RPN calculator that understands the | ||
1020 | following operations: +, -, /, *, and, or, not, eor. | ||
1021 | If no arguments are given, math will process input from STDIN. | ||
1022 | |||
1023 | Example: | ||
1024 | |||
1025 | $ math 2 2 + | ||
1026 | 4 | ||
1027 | $ math 8 8 \* 2 2 + / | ||
1028 | 16 | ||
1029 | $ math 0 1 and | ||
1030 | 0 | ||
1031 | $ math 0 1 or | ||
1032 | 1 | ||
1033 | $ echo 72 9 / | math | ||
1034 | 8 | ||
1035 | |||
1036 | ------------------------------- | ||
1037 | |||
1038 | =item md5sum | 1041 | =item md5sum |
1039 | 1042 | ||
1040 | Usage: md5sum [OPTION] [file ...] | 1043 | Usage: md5sum [OPTION] [file ...] |
@@ -2021,4 +2024,4 @@ Enrique Zanardi <ezanardi@ull.es> | |||
2021 | 2024 | ||
2022 | =cut | 2025 | =cut |
2023 | 2026 | ||
2024 | # $Id: busybox.pod,v 1.43 2000/06/20 00:11:07 proski Exp $ | 2027 | # $Id: busybox.pod,v 1.44 2000/06/21 19:06:16 beppu Exp $ |