Is there a reason that you are looking into Awk? Awk is a programming language that used to be popular for extension text processing in conjunction with BASH. But in the last decades, its use has fallen away and that is why you won't find examples of it. It's only used for very basic things now. Languages like Perl and Python supplanted it being easier to use, better known, more portable, and vastly more powerful. Awk is really a legacy tool today.