• nickwitha_k (he/him)
    link
    fedilink
    03 months ago

    Why would I use SQL to to reformat a poorly structured log file for programs whose source I have no input in during a live debug with a customer on system that I don’t own and can’t install anything on? Or to extract and format things like hosts from a similar file?

    That’s stuff that’s quickly and easily done in vim (which is generally part of the base install) with regex. There’s a lot of use cases that have no overlap with SQL.

    • @Skyrmir@lemmy.world
      link
      fedilink
      English
      03 months ago

      So your use cases for regex are when you’re not going to actually fix the problem that caused you to need regex?