[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: another script query (perl?)



On Mon, Sep 10, 2007 at 08:30:42PM -0400, Celejar wrote:

> On Fri, 7 Sep 2007 15:04:50 +0100
> Richard Lyons <richard@the-place.net> wrote:
> 
[...]
> > 
> > I need a script to read a text file (actually tex) and parse lines of a
> > table that may or may not span newline characters in the file.
> > Basically, there are lines of the form
> > 
> >    {some text} & {some more text} & {text c} & {text d} \\
[...]
> 
> Take a look at the perl Text::ParseWords module 'man
> text::parsewords').  It may do what you want, depending on your needs
> with respect to quoting and escaping.

Why yes, that is interesting, albeit it came just too late for me.
But there is sure to be a next time!

-- 
richard



Reply to: