[mdlug] GNU sed weirdness
Jeff Hanson
jhansonxi at gmail.com
Sun Jan 24 13:43:40 EST 2010
On Sun, Jan 24, 2010 at 3:23 AM, Aaron Kulkis <akulkis00 at gmail.com> wrote:
> If in doubt, break the problem down instead of trying to do it
> all in one fell swoop as a "one-liner"
>
It isn't really a difficult sed script.
> You're hitting the outer-edge of sed-ness.
> But you are smack dab in the middle of awk-ness.
>
> So, I would suggest redoing this in AWK instead.
>
I used AWK once several years ago so I'm somewhat familiar with it's
capabilities. For this task sed was almost overkill but due to the
strange behavior it was more difficult than what I expected.
More information about the mdlug
mailing list