|Fun with regexes!
||[Mar. 24th, 2006|05:07 pm]
|||||Simon and Garfunkel - The Boxer||]|
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....