Nomarian/Awk-Batteries
View on GitHub ↗ ★ 13 Awk
Public AWK Directory
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2020-10-30 · latest 2023-06-29
20082026
-
…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/...
comment by nmz · 2023-06-29 · in The Awk Programming Language, Second Edition -
You can just use https://github.com/Nomarian/Awk-Batteries/blob/master/Units/... and use as so awk -f ./ucsv.awk -e '{print $5}' Also this > 4,"hello, \"world\"",6 Is incorrect per https://tools.ietf.org/html/rfc4180 so you should just fix…
comment by nmz · 2021-09-30 · in Understanding Awk -
You can parse it with awk though. https://github.com/Nomarian/Awk-Batteries/blob/master/Units/... gawk -f $AWK/Units/csv.awk -e '{print NF}'
comment by nmz · 2020-10-30 · in Awk: `Begin { ` Part 1