Some Awk scripts to generate documentation from Markdown-formatted comments in source code. The d.awk script creates documentation for languages that use /* */ for multiline comments, like C, C++, ...
There are many fancy tools for generating changelogs based on ones git commit history, but I wanted one that was dead-simple to use and not dependent on runtimes like Nodejs, Python, etc. Since AWK ...
The awk command can make it easy to remove duplicate characters from a string even when those characters aren’t sequential, especially when the process is turned into a script. First, the awk command ...
The awk command provides a lot more than simply selecting fields from input strings, including pulling out columns of data, printing simple text, evaluating content – even doing math. If you only use ...
Bertel is a lifelong tech enthusiast with over a decade of experience writing thousands of articles about Android devices, Linux, and more. Bertel graduated from the College of William and Mary in ...
Last time I talked about how to use AWK (or, more probably the GNU AWK known as GAWK) to process text files. You might be thinking: why did I care? Hardware hackers don’t need text files, right? Maybe ...
My first foray into DHCP lease monitoring was via AWK (Wikipedia). I learned about the various fields stored in the dhcpd.leases file, and AWK was the most straightforward tool I had available on the ...
The awk programming language often gets overlooked for Perl, which is a more capable language. Out in the real world, however awk is found even more ubiquitously than Perl. It also has a smaller ...
In this post I'll show you how to create a self extracting bash script to automate the installation of files on your system. This script requires coreutils (for cat, tail), awk, gzip, tar and bash.