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.
|
1 year ago | |
---|---|---|
-1 | 1 year ago | |
LICENSE | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
cawk | 1 year ago | |
cawk.1 | 1 year ago |
README.md
cawk
REPL calculator in Bash and GNU awk
Usage
cawk [-f PRECISION] - Start in REPL mode.
cawk -e EXPRESSION [-f PRECISION] - Eval EXPRESSION and quit.
COMMAND | cawk [-f PRECISION] - Eval expressions from COMMAND output.
cawk [-f PRECISION] < FILE - Eval expressions list in FILE.
Options
-e EXPRESSION Expression to evaluate.
-f PRECISION Number of positions after decimal point.
Commands (in REPL mode)
f PRECISION Redefine precision.
h or ? Help.
q or quit Exit.
Depends
- Bash 5+
- GNU awk
Install
Clone this repository:
:~$ git clone https://git.blauaraujo.com/blau_araujo/cawk.git
As root, enter cawk
directory and run:
make install
Uninstall
As root, enter cawk
directory and run:
make uninstall