[ale] text extraction, multiple matches per line, sed preferred.

Jim Popovitch yahoo at jimpop.com
Fri Sep 12 17:17:41 EDT 2008


I have a huge xml file, that has a ton of stanzas matching this:

    <file name="blah.blah.ext" properties=blah /><file
name="blah2.blah.ext" properties=blah /><file name="blah3.blah.ext"
properties=blah /><file name="blah4.blah.ext" properties=blah />

What I would like to do is sed out the file names into a
carriage-return delimited list.

My sed foo is failing me today.  Ideas?

-Jim P.


More information about the Ale mailing list