Let me know your feedback, especially if you haven’t learned awk yet!

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    12
    ·
    11 months ago

    At an old place of work, someone wrote an awk script that parsed strings using regex from a CSV file, and it generated JavaScript code automatically. It was ~5000 lines of awk script, it was beautiful. I understood it after a couple of weeks, I was in charge of maintaining it, super interesting.

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago

    Really cool, use it sometimes but never understood it really. It is so useful to get strings from whatever file you want

    • ewenak@jlai.lu
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Yeah, really, I only know awk '{ print $SOME_COLUMN_NUMBER }', nothing else.