aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Beppu <beppu@lbox.org>2000-06-12 23:04:55 +0000
committerJohn Beppu <beppu@lbox.org>2000-06-12 23:04:55 +0000
commit44760d058cda8cdea96b02f2594797d2b43b01eb (patch)
treef2c3dac9abf34f96c9fbcfde7aa6f8e34891d00c
parent5db60a7a7a7695b4b48b76de4539822f2cae3903 (diff)
downloadbusybox-w32-44760d058cda8cdea96b02f2594797d2b43b01eb.tar.gz
busybox-w32-44760d058cda8cdea96b02f2594797d2b43b01eb.tar.bz2
busybox-w32-44760d058cda8cdea96b02f2594797d2b43b01eb.zip
+ updated docs to reflect math's filter capabilities.
-rw-r--r--Changelog1
-rw-r--r--docs/busybox.pod7
2 files changed, 6 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index 30f28209d..483aa0d0c 100644
--- a/Changelog
+++ b/Changelog
@@ -72,6 +72,7 @@
72 of nested directories. Thanks to Kevin Traas <kevin@netmaster.com> 72 of nested directories. Thanks to Kevin Traas <kevin@netmaster.com>
73 for helping track this one down. 73 for helping track this one down.
74 * More doc updates 74 * More doc updates
75 * math takes input from stdin if no args are given. -- John Beppu
75 76
76 77
77 -Erik Andersen 78 -Erik Andersen
diff --git a/docs/busybox.pod b/docs/busybox.pod
index ff054086e..03875a4d7 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -1017,10 +1017,11 @@ Usage: math expression ...
1017 1017
1018This is a Tiny RPN calculator that understands the 1018This is a Tiny RPN calculator that understands the
1019following operations: +, -, /, *, and, or, not, eor. 1019following operations: +, -, /, *, and, or, not, eor.
1020If no arguments are given, math will process input from STDIN.
1020 1021
1021Example: 1022Example:
1022 1023
1023 $ math 2 2 add 1024 $ math 2 2 +
1024 4 1025 4
1025 $ math 8 8 \* 2 2 + / 1026 $ math 8 8 \* 2 2 + /
1026 16 1027 16
@@ -1028,6 +1029,8 @@ Example:
1028 0 1029 0
1029 $ math 0 1 or 1030 $ math 0 1 or
1030 1 1031 1
1032 $ echo 72 9 / | math
1033 8
1031 1034
1032------------------------------- 1035-------------------------------
1033 1036
@@ -1949,4 +1952,4 @@ Enrique Zanardi <ezanardi@ull.es>
1949 1952
1950=cut 1953=cut
1951 1954
1952# $Id: busybox.pod,v 1.39 2000/06/07 21:19:49 proski Exp $ 1955# $Id: busybox.pod,v 1.40 2000/06/12 23:04:55 beppu Exp $