[kwlug-disc] sed + bash

Richard Weait richard at weait.com
Fri Apr 3 15:51:18 EDT 2009


On Fri, 2009-04-03 at 15:41 -0400, Robert P. J. Day wrote:
> On Fri, 3 Apr 2009, Richard Weait wrote:
> 
> > So let's say you've got
> >
> > - an arbitrary xml file, a big one, and it has a bunch of tags with
> > numeric values. Like <mytag>12345</mytag>
> 
>   are these tags on individual lines?  or are they mixed into larger
> lines?  if they can be assumed to be on individual lines, then it's
> not that hard.

individual lines, when --pretty is used to create the files, otherwise
very long lines with multiple tags.




More information about the kwlug-disc_kwlug.org mailing list