Code and comments

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Using un*x since the 90s, this is all I know. I like awk but it can go fucking complicated, I once maintain a 5000 lines script that was parsing csv to generate JavaScript…

    • Joe Klemmer@lemmy.myserv.oneOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      Someone used the wrong tool for the job. If an awk script gets more than a few dozen lines, it’s time to use another language/tool to process that data.