Awk-Batteries
termgraph
Awk-Batteries | termgraph | |
---|---|---|
8 | 5 | |
12 | 3,113 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | 12 months ago | |
Awk | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Awk-Batteries
-
The Awk Programming Language, Second Edition
It's nice that everyone is supporting this, I've written a portable awk module that takes control of the parsing and it is SLOW (and a little buggy). I'm a little bummed that nobody will use it but this is truly a step in the right direction.
I guess for the people that are still using nawk, you can set up an AWK envvar so you can { awk -f $AWKU/ucsv.awk -f <(echo '{print NR, $1}') }
https://github.com/Nomarian/Awk-Batteries/blob/master/Units/...
-
Need help with awk script that keeps giving me syntax errors
if you have gawkextlib, you can -i csv, you can also download this and put it in your $AWKPATH then you just -i ucsv and use the csv file as normal. if you need an array with headers let me know.
-
Modernizing AWK, a 45-year old language, by adding CSV support
I wrote a parser that does what -F, does but correctly, you can see that its actually very difficult. Not only that, but there are extensions to csv, some csv have a header which means that instead of $1 $2 $3 ..., you just name the field instead, which means you have to ignore the first record. there's also other things, but csv is a difficult format to parse.
- Using AWK with CSV Files
-
Python was listed on "Harmful things", but why though ? http://harmful.cat-v.org/software
My attempt in awk
- Understanding AWK
- Understanding Awk
-
Getting better at Linux with mini-projects
awk lua
termgraph
-
The Awk Programming Language, Second Edition
`sparklines`[1] is good for an overall low-res view. `termgraph`[2] is sometimes better for a higher-res, more capable view (but can be finicky about the data.)
[1] https://github.com/deeplook/sparklines
[2] https://github.com/mkaz/termgraph
- A command line tool that draw plots on the terminal
-
Which not so well known Python packages do you like to use on a regular basis and why?
I use TermGraph (https://github.com/mkaz/termgraph) a lot. Impress my boss / coworkers with it. It can easily convert your tables / numbers to super cool graphs on the command line and being text, the result can be copy pasted into the emails / chats. I've shown a demo here: https://youtu.be/86V5amp1u7U
-
📢 Grype 0.42.0 is out... and hello grype-contribs 👶
We'll use termgraph, "A command-line tool that draws basic graphs in the terminal," :
-
My favorite cli/tui programs:
https://github.com/mkaz/termgraph - for plotting simple data
What are some alternatives?
microperl-standalone
navi - An interactive cheatsheet tool for the command-line
sparklines - Text-based sparklines for the command line mimicking those of Edward Tufte.
dust - A more intuitive version of du in rust
csvquote - Enables common unix utlities like cut, awk, wc, head to work correctly with csv data containing delimiters and newlines
sn - Simple Notes using fzf
awk - Random AWK code
Weechat - The extensible chat client.
maga-csv - GAWK CSV extension
glances - Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
busybox-w32 - WIN32 native port of BusyBox.
cmus - Small, fast and powerful console music player for Unix-like operating systems.