4 ms·
It's C. Learn C and you know awk. The only awk worth using is G(nu)awk anyway.
by svsucculents 8y ago
It's C. Learn C and you know awk.
The only awk worth using is G(nu)awk anyway.
- msla 8y agoNo, in that C doesn't have the pattern-action style of awk: /<pattern>/ { <action> } "For every line which matches <pattern> perform <action> " is the fundamental flow of awk programs. It's procedural but the iteration is hidden; it's almost like each stanza is a callback which gets executed when the pattern fires. I'm kinda surprised no "real language" has adopted this design for an API.
- svsucculents 8y agoThat's the reason I love this site. Moron downvotes and rudimentary objections.