Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/eylles/awkat
- Owner: eylles
- License: gpl-2.0
- Created: 2022-06-27T00:10:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T03:58:30.000Z (2 months ago)
- Last Synced: 2024-10-28T07:16:01.679Z (2 months ago)
- Topics: awk, cat, cli, command-line, linux, shell, shell-script, syntax-highlighting, terminal, tool
- Language: Shell
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)