REPL calculator in Bash and AWK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

55 lines
1.4 KiB

.TH CAWK "1" "Mar 2022" "CAWK 0.0.3" "REPL calculator in Bash and GNU awk"
.\" Text automatically generated by txt2man
.RS
.SH NAME
\fBcawk\fP - REPL calculator in Bash and GNU awk.
.SH SYNOPSIS
.nf
.fam C
\fBcawk\fP [-f PRECISION]
\fBcawk\fP -e EXPRESSION [-f PRECISION]
COMMAND | \fBcawk\fP [-f PRECISION]
\fBcawk\fP [-f PRECISION] < FILE
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
When executed whith no arguments, or just with the optional \fB-f\fP PRECISION,
\fBcawk\fP enter in REPL mode (\fBR\fPead \fBE\fPval \fBP\fPrint \fBL\fPoop).
With \fB-e\fP option, EXPRESSION is evaluated and \fBcawk\fP exits. Expressions
lists can also be passed by pipe, here strings, or files (via shell redirection
for reading).
.SH OPTIONS
.TP 18
\fB-e\fP EXPRESSION
Expression to evaluate.
.TP
\fB-f\fP PRECISION
Number of positions after decimal point.
.TP
\fB-h\fP or \fB--help\fP
This help.
.SH COMMANDS
.TP 18
\fBf\fP PRECISION
Redefine precision.
.TP
\fBhelp\fP, \fBh\fP or \fB?\fP
Help.
.TP
\fBq\fP or \fBquit\fP
Exit.
.SH SEE ALSO
<https://git.blauaraujo.com/blau_araujo/cawk>
.SH REPORTING BUGS
<https://git.blauaraujo.com/blau_araujo/cawk/issues>
.SH AUTHORS
Written by Blau Araujo <blau@debxp.org>
.SH COPYRIGHT
Copyright©2022, Blau Araujo.
.PP
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.PP
This is free software: you are free to change and redistribute it. There is NO WARRANTY,
to the extent permitted by law.