summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohn Beppu2000-06-12 23:04:55 +0000
committerJohn Beppu2000-06-12 23:04:55 +0000
commit44760d058cda8cdea96b02f2594797d2b43b01eb (patch)
treef2c3dac9abf34f96c9fbcfde7aa6f8e34891d00c /docs
parent5db60a7a7a7695b4b48b76de4539822f2cae3903 (diff)
downloadbusybox-44760d058cda8cdea96b02f2594797d2b43b01eb.zip
busybox-44760d058cda8cdea96b02f2594797d2b43b01eb.tar.gz
+ updated docs to reflect math's filter capabilities.
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index ff05408..03875a4 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -1017,10 +1017,11 @@ 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 add
+ $ math 2 2 +
4
$ math 8 8 \* 2 2 + /
16
@@ -1028,6 +1029,8 @@ Example:
0
$ math 0 1 or
1
+ $ echo 72 9 / | math
+ 8
-------------------------------
@@ -1949,4 +1952,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.39 2000/06/07 21:19:49 proski Exp $
+# $Id: busybox.pod,v 1.40 2000/06/12 23:04:55 beppu Exp $