1
0
Fork
You've already forked awkat
0
a bat clone in shell and awk
  • Shell 96.3%
  • Makefile 3.7%
Find a file
eylles f37da73bf8
Add special handling for plain text
If a plain text type file has no extension just handle it with cat
2026年04月17日 21:35:20 -06:00
.editorconfig Add editorconfig 2025年02月12日 20:02:25 -06:00
awkat.sh Add special handling for plain text 2026年04月17日 21:35:20 -06:00
LICENSE commit dis 2022年06月26日 18:52:45 -06:00
Makefile Do not rm in the install target 2025年04月16日 00:20:32 -06:00
readme.md change: formatting 2022年10月08日 02:31:22 -06:00
screenshot.png add: screenshot 2022年10月08日 02:28:31 -06:00

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 or source-highlight, alternatively you can provide your own highlighter command with the HIGHLIGHTER env var

in debian and derivates just run:

sudo apt install highlight

or

sudo apt install source-highlight

in arch and derivates:

sudo pacman -S highlight

or

sudo pacman -S source-highlight

TODO

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