Language Selection

English French German Italian Portuguese Spanish

GNU Awk: This is Not Your Father's Awk

Filed under
Software

Awk, the little language loved by so many, has been around in one form or another since the days of V7 UNIX, circa 1978. Its data- and text-processing capabilities, expressed in a concise, highly expressive syntax, are the epitome of what DSLs strive for and were, in fact, the inspiration for general-purpose scripting languages, particularly Perl.

The original language has evolved considerably. In particular, the GNU version — gawk — is far more powerful than standard Awk. In this article, I provide some background on the development of the Awk language, focusing particularly on gawk. I also take a high-level look at the new features available in gawk 4.1, which was released in May of this year.

Rest here




More in Tux Machines

Leftovers: Gaming

Android Leftovers

  • OnePlus Will Reveal Details Of Its ‘Oxygen’ Android ROM On February 12
    OnePlus introduced its own version of Android for its One smartphone earlier this month in response to its standoff with Cyanogen, and now the company has revealed that it will unveil its own ROM which can be installed on third-party Android devices on February 12. Correction: OnePlus tells us that, in fact, it won’t launch the ROM on the 12th. This is a tease-of-a-tease, and instead we can expect to see “more information about the ROM” not an actual download for third-party Android devices.
  • Android is suddenly surrounded by enemies
    Cyanogen is one of these forks. It has just raised $70 million from a number of investors including Microsoft to continue producing its own version of Android that it can position as a direct competitor to Google's.
  • Working New Android 5 Lollipop Features into Your Apps
  • Major Blackphone Security Flaw Discovered
    You might want to think twice before sending that sensitive text message over your supposedly secure Blackphone. A security flaw discovered by an Australian communication security expert could have allowed attackers to decrypt a Blackphone user’s messages, gather location information, and run additional code of the attacker’s choosing.
  • World’s most ‘NSA-proof’ phone vulnerable to simple SMS hack
    A smartphone marketed as the most anti-surveillance, NSA-proof personal device – the BlackPhone – has been found vulnerable to a simple SMS attack that allows the hacker to steal contacts, decrypt messages, and even take full control of the device.