Announcement

Collapse
No announcement yet.

Gawk 4.0 Is A Major New Release

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gawk 4.0 Is A Major New Release

    Phoronix: Gawk 4.0 Is A Major New Release

    Besides releasing libgcrypt 1.5 this week, another GNU project has been updated. Gawk 4.0.0 has been officially released as a major update to this popular free software utility. Gawk 4.0.0 presents several new end-user features along with revamped internals...

    http://www.phoronix.com/vr.php?view=OTYyNA

  • #2
    I really don't see the need for awk any longer. Whatever awk can do, perl can do better (or ruby or something), and it's been that way for ages. Just let it die already.

    Comment


    • #3
      Considering Michael hasn't mentioned Gawk before (you can tell this by the lack of links to previous Gawk articles) there's a surprising lack of explanations of what it actually is

      Comment


      • #4
        +1, I had to look it up, actually, since I've never used it before.

        Comment


        • #5
          If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may take many lines of code. The job is easy with awk, especially the GNU implementation: gawk.

          The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

          Comment


          • #6
            plonoma, it is very poor style to quote a document (in this case, the gawk web site) without denoting it as a quote.

            And aside from that, it still doesn't answer the question about why people should care about (g)awk nowadays. Perl does everything awk does, and a lot more and better.

            Comment


            • #7
              Originally posted by plonoma View Post
              If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may take many lines of code. The job is easy with awk, especially the GNU implementation: gawk.

              The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.
              Perl works just as well but takes a little more coding to do the job (g)awk does.

              Comment


              • #8
                Because people are used to it, because it is fast if you are usef to it, there are millions of scripts out there depending on it, and every decent *nix sysadmin has used it at least once?

                I mean, anything perl can do, javascript can do too

                Comment


                • #9
                  Awk is installed more widely than perl, as it is much smaller. Hey, even busybox has awk.

                  Comment


                  • #10
                    Originally posted by AnonymousCoward View Post
                    And aside from that, it still doesn't answer the question about why people should care about (g)awk nowadays. Perl does everything awk does, and a lot more and better.
                    I never took the time to learn perl, but I know how to use awk.
                    I can imagine a lot of enterprise boxes come with no perl installed (paranoid admins and such), but awk is pretty much everywhere.

                    Comment


                    • #11
                      Originally posted by AnonymousCoward View Post
                      I really don't see the need for awk any longer. Whatever awk can do, perl can do better (or ruby or something), and it's been that way for ages. Just let it die already.
                      For an occasional scripter like myself, I think awk is nice because its a small and simple language; I get done everything I need to get done, with a small memorize/forget/re-learn overhead. The balancing between power/simplicity is just spot on.

                      Comment


                      • #12
                        Yep, I think that's the key. If you are already using Perl on a regular basis then there's probably not much place for awk. If you are *not* using Perl regularly, however, and essentially have to "relearn from scratch" each time, then awk's size and simplicity are a real help.

                        Comment


                        • #13
                          You can always rely on awk. Go awk!

                          Comment


                          • #14
                            The perl subset that does what awk does is no more complicated, so I don't really buy that argument.

                            And perl also runs everywhere, and unlike awk it's pretty consistent across platforms.

                            Comment


                            • #15
                              ls -lh /bin/gawk
                              -rwxr-xr-x 1 root root 364K 13. Mär 03:44 /bin/gawk

                              how many megabytes does perl consume?

                              Comment

                              Working...
                              X