Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
perl -pi -e '/1 id="(.*)"/?$ci=$1:s/2>/2 id="$ci">/g' input
(: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "one who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever." mk at perl dot org dot br In reply to Re^6: Regex problem while parsing tagged, hierarchical data
by mk.
|
|