Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eylles/awkat

awkat is a bat imitation with shell awk and cat
https://github.com/eylles/awkat

awk cat cli command-line linux shell shell-script syntax-highlighting terminal tool

Last synced: about 2 months ago
JSON representation

awkat is a bat imitation with shell awk and cat

Awesome Lists containing this project

README

        

# AWKat

somewhat of a bat in awk





## why ?

i'm not installing all the rust deps when i can just wrap some stuff i got installed already in a script /s

## usage

just run make to install or uninstall, all this depends on is awk ( bsd awk should work ), a shell interpreter and a highlighter program like [highlight](http://www.andre-simon.de/doku/highlight/highlight.php) or [source-highlight](https://www.gnu.org/software/src-highlite/), alternatively you can provide your own highlighter command with the `HIGHLIGHTER` env var

in debian and derivates just run:
```sh
sudo apt install highlight
```
or
```sh
sudo apt install source-highlight
```

in arch and derivates:
```sh
sudo pacman -S highlight
```
or
```sh
sudo pacman -S source-highlight
```

## TODO

- [x] add screenshots
- [x] try to have just one awk command
- [ ] env vars to config file name color (doing some tests it seems this one aint doable)
- [x] try to have dynamic box draw char lenght or use env var for lenght (AWKAT_COLS)