+ updated docs to reflect math's filter capabilities.

This commit is contained in:
John Beppu 2000-06-12 23:04:55 +00:00
parent 5db60a7a7a
commit 44760d058c
2 changed files with 6 additions and 2 deletions

View File

@ -72,6 +72,7 @@
of nested directories. Thanks to Kevin Traas <kevin@netmaster.com> of nested directories. Thanks to Kevin Traas <kevin@netmaster.com>
for helping track this one down. for helping track this one down.
* More doc updates * More doc updates
* math takes input from stdin if no args are given. -- John Beppu
-Erik Andersen -Erik Andersen

View File

@ -1017,10 +1017,11 @@ Usage: math expression ...
This is a Tiny RPN calculator that understands the This is a Tiny RPN calculator that understands the
following operations: +, -, /, *, and, or, not, eor. following operations: +, -, /, *, and, or, not, eor.
If no arguments are given, math will process input from STDIN.
Example: Example:
$ math 2 2 add $ math 2 2 +
4 4
$ math 8 8 \* 2 2 + / $ math 8 8 \* 2 2 + /
16 16
@ -1028,6 +1029,8 @@ Example:
0 0
$ math 0 1 or $ math 0 1 or
1 1
$ echo 72 9 / | math
8
------------------------------- -------------------------------
@ -1949,4 +1952,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut =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 $