4 ms·
This might be an avenue for programmers who are comfortable in Go but not C to extend a version of the Awk language. For example I have wished for a long time
by bsg75 8y ago
This might be an avenue for programmers who are comfortable in Go but not C to extend a version of the Awk language.
For example I have wished for a long time that Gawk could parse gzipped files so that filenames could be used directly. I could take a run at implementing that in this interpreter where the C version would be more difficult personally.
- t-3 8y agoIs there a reason you can't just use a pipe and process stdin?
- deleted 8y ago[deleted]
- bsg75 8y agoThat is what I do today. However in the case where metadata is part of the file name, the FILENAME variable is not populated without something else in the pipeline that passes it into the Awk script as a variable.