[ale] text extraction, multiple matches per line, sed preferred.
Jim Kinney
jim.kinney at gmail.com
Sat Sep 13 12:12:57 EDT 2008
sed -e 's/*"(*?)"*/$1\n/g'
maybe. Not 100% on the (*?)
On Fri, Sep 12, 2008 at 5:17 PM, Jim Popovitch <yahoo at jimpop.com> wrote:
> 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.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
--
--
James P. Kinney III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20080913/6d0d30e1/attachment.html
More information about the Ale
mailing list