in reply to Re^2: XMLin question
in thread XMLin question
I was curious if there was some way to auto-convert < to < as well as tags like this in general instead of manually doing this, from an end user perspective.
:| You don't say :/
perl -pe "%f = qw{ < < > > }; s{[^><]\K([><])([^\w])}{ $f{$1}$2} +g; " < in > out
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: XMLin question
by Anonymous Monk on Feb 15, 2013 at 18:21 UTC | |
by bart (Canon) on Feb 15, 2013 at 22:25 UTC | |
by Anonymous Monk on Feb 15, 2013 at 22:43 UTC |