Sinisterly
Introduction to the AWK programming language - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Introduction to the AWK programming language (/Thread-Introduction-to-the-AWK-programming-language)

Pages: 1 2


RE: Introduction to the AWK programming language - Deque - 06-27-2013

That's quite good. I will add it to the language introductions.

One thing seems inaccurate to me:

Quote:A BEGIN instruction is needed at the begin of the file,

It is not needed. One example was made by @ErsinKandemir here: http://www.hackcommunity.com/Thread-Tutorial-httpd-conf-Parsing-on-Bash


RE: Introduction to the AWK programming language - noize - 06-27-2013

(06-27-2013, 05:14 AM)Deque Wrote: That's quite good. I will add it to the language introductions.

One thing seems inaccurate to me:

Quote:A BEGIN instruction is needed at the begin of the file,

It is not needed. One example was made by @ErsinKandemir here: http://www.hackcommunity.com/Thread-Tutorial-httpd-conf-Parsing-on-Bash

Yeah, yeah. You're right. You know, I wrote this as I learned this, and so the very first part was written as I just got the hang of AWK. I'll just change that.

Edit: found also another statement about the BEGIN/END patterns that made no sense at all. Removed too.