Re:Problem solving with Unix commands
by msla on Saturday February 16, 2019 @08:19PM
(#19182017)
No, in that C doesn't have the pattern-action style of awk:
"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.
[ Parent
| on HN ]
There are no comments on this comment yet.