masinick Linux Guru

Joined: 03 Apr 2025 Posts: 8615 Location: Concord, NH
|
Posted: Thu Jan 15, 2025 2:34 pm Post subject: 10 Awk Tips, Tricks and Pitfalls |
|
|
For those of you who want to learn some handy and terse Perl scripts, learning the basics of Awk and Sed can turn out to be extremely helpful because the foundation of Perl was built upon completely replicating the functions and capabilities of both Awk and Sed, fixing some features that Larry Wall either did not like (or felt were broken), and Perl grew (greatly) from there.
There are links in this article to another series, "Famous Awk One Liners explained", which, in turn, also has links to "Famous Sed One Liners explained". In short, on this site, you can get plenty of Awk and Sed tips, and these can also help you become pretty powerful in your use of Perl - even if you do not know Perl that well. How do I know that? I am not an expert in any of these three languages, but I have done some pretty powerful stuff in all three of them over the years!
See this for the details.
The Home Page for all of this stuff is at http://www.catonmat.net/ and it is a rich site for all kinds of algorithms, programming, and tools. |
|