greatshots has asked for the wisdom of the Perl Monks concerning the following question:
from the input lines I would like to match the lines 'metaattribute metaattribute-name' and want the output similar to the below<metaattribute metaattribute-name="property" metaobject-name="sys +tem" object-link=""> . . . <metaattribute metaattribute-name="nc_id" metaobject-name="Card" objec +t-link="">
how can I do this from commandline using perl ?system.property Card.nc_id . . . <metaobject-name>.<metaattribute-name>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: one line regular expression
by Corion (Patriarch) on Oct 17, 2006 at 07:34 UTC | |
|
Re: one line regular expression
by shmem (Chancellor) on Oct 17, 2006 at 07:36 UTC |