awk

Random AWK code (by geary)

Awk Alternatives

Similar projects and alternatives to awk

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better awk alternative or higher similarity.

awk reviews and mentions

Posts with mentions or reviews of awk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-15.
  • Awk: Power and Promise of a 40 yr old language (2021)
    5 projects | news.ycombinator.com | 15 Jan 2023
    Yep, functions! I used to write a fair amount of Awk code back in the late '80s and early '90s. I treated Awk as a "real" programming language and tried to make the code nice and readable. This of course involved a lot of use of functions.

    I only have a couple of surviving examples of the code from back then, but here they are for the curious:

    https://github.com/geary/awk

    LJPII.AWK is probably the best example. It made a nicely formatted printout of source code on my HP LaserJet II printer. I wish I had one of the printouts it generated, but they are long gone.

    Hmm... I wonder if my Brother printer supports the old LaserJet II control codes? Or maybe there is an emulator online?

    The code was written for Thompson Awk (TAWK), so some bits would need to be adapted to modern Awks.

  • Understanding Awk
    5 projects | news.ycombinator.com | 30 Sep 2021
    I used to love Awk! I still do, even if I don't use it much any more.

    Awk has a reputation for being hard to read (as noted in stevebmark's comment), but when I was using it actively, I tried to treat it as a serious programming language and write readable programs in it.

    Several years ago I tracked down a couple of my old Awk programs from around 1990 and posted them here:

    https://github.com/geary/awk

    SHANEY.AWK is an implementation of the infamous Mark V. Shaney:

    https://www.clear.rice.edu/comp200/09fall/textriff/sci_am_pa...

    This was probably the first program that made me really impressed with Awk. People were writing rather complicated Shaney implementations in C, and I thought, "this could be really simple in Awk." And it was!

    LJPII.AWK is the Awk program I'm most proud of. This was in the days when we had tiny screens and no multiple monitors and you always printed out your code to read it. In my circles we also fond of inserting "separator lines" between functions, in various formats such as this one:

      // - - - - - - - - - - - - - - - - - -

Stats

Basic awk repo stats
2
5
10.0
about 8 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com