Darth Paradox (darthparadox) wrote,
Darth Paradox

  • Mood:
  • Music:

Fun with regexes!

Specifically, fun with regexes processing other regexes. We've got a bunch of regexes for processing logs, and I needed to change their identical beginning strings to match the log format more precisely. So I figured sed was the right tool for the job.

And now, after assembling the sed command string... well, I still figure sed's the right tool for the job, but that doesn't mean I'm not amused.


Ow, my head. But at least it works.

5:10 PM on Friday. So close....
Tags: programming

  • I write words that make computers do things.

    Inspired by XKCD's Up-Goer Five, there's a meme going around where people try to describe their jobs (or other technical subjects) using…

  • Still Alive

    I've posted exactly once since my son was born, and that was a brief bit about NaNoWriMo (which I've since utterly failed). I guess I've…

  • Hey, I remember this thing!

    I've been in pretty heavy lurker-mode lately, but November does strange things. That's right - it's National Novel Writing Month! I'm working on a…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.