csvinfo
csvquote
csvinfo | csvquote | |
---|---|---|
1 | 3 | |
3 | 441 | |
- | - | |
0.0 | 1.9 | |
over 2 years ago | 10 months ago | |
Rust | C | |
GNU General Public License v3.0 only | 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.
csvinfo
-
Understanding Awk
A long while ago I wrote up a little processor to determine field lengths in a given file - I forgot the original reason. ( https://github.com/sullivant/csvinfo )
However, I feel I really should have taken the time to learn Awk better as it could probably be done there, and simply! (It was a good excuse to tinker with rust, but that's an aside.)
csvquote
- csvquote – smart and simple CSV processing on the command line
-
Understanding Awk
There is a small program I wrote called csvquote[1] that can be used to sanitize input to awk so it can rely on delimiter characters (commas) to always mean delimiters. The results from awk then get piped through the same program at the end to restore the commas inside the field values.
Also works for other text processing tools like cut, sed, sort, etc.
[1] https://github.com/dbro/csvquote
-
Awk: The Power and Promise of a 40-Year-Old Language
CSVs with quoted fields and imbedded newlines can be troublesome in awk. Years ago I had found a script that worked for me, I'm not sure but I think it was this:
http://lorance.freeshell.org/csv/
There's also https://github.com/dbro/csvquote which is more unix-like in philosophy: it only handles transforming the CVS data into something that awk (or other utilities) can more easily deal with. I haven't used it but will probably try it next time I need something like that.
What are some alternatives?
busybox-w32 - WIN32 native port of BusyBox.
awk - Random AWK code
cligen - Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at
Awk-Batteries - Public AWK Directory
bioawk - BWK awk modified for biological data
csview - 📠 Pretty and fast csv viewer for cli with cjk/emoji support.
mkmcsv - Command-line utility for processing CSV files exported from Cardmarket.
Unix-Pledge - Perl support for pledge(2) syscall