3 ms·
...Does it by any chance resemble the SCSH awk macro?
by qwertyuiop924 10y ago
...Does it by any chance resemble the SCSH awk macro?
- kazinator 10y agoIn some superficial ways it does, like the basic clause structure. "Prior art" I was well aware of is cl-awk. This awk macro was intended to be a detailed implementation of the Awk paradigm (with some GNU extensions), complete with obscure features like assigning to the nf variable to change the number of fields (extending with empty strings if the new count is larger), and a working regex-based record separation via the rs variable. I see Shrivers implemented something that's on my TODO list: variants of ranges that exclude the start, end or both. However, he didn't lift the restriction that Awk ranges do not combine with other conditions, including ranges.