[Top][All Lists]

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

Re: [Help-glpk] comments in csv data files

From: Nigel Galloway
Subject: Re: [Help-glpk] comments in csv data files
Date: Wed, 19 May 2010 14:57:00 +0100

I'm sorry if this paragraph is confusing, I meant (though not really 
advocating) that the comments could be included in the csv file and then 
removed with say sed, if anyone can still remember how to use it.

Alternativly the output format for glpk could be XML. The XML can be converted, 
using a rich variety of modern tools to produce many formats including csv.

> ----- Original Message -----
> From: Tor Myklebust <address@hidden>
> To: Nigel Galloway <address@hidden>
> Subject: Re: [Help-glpk] comments in csv data files
> Date: Mon, 17 May 2010 20:32:43 -0400 (EDT)
> On Mon, 17 May 2010, Nigel Galloway wrote:
> > I might have mentioned the benefits of XML before. It has been 
> > helpfully pointed out that a program may be written in grep to 
> > convert csv to XML. Careful research has revealed that Excel can 
> > read csv and save it as XML.
> >
> > How then to include the useful comments.
> >
> > It would be possible to include the comments and then write a 
> > program in grep to remove them.
> grep can't reliably manipulate XML documents.  grep works with (a 
> class slightly larger than) regular expressions.  You need 
> something that can handle the language of balanced parentheses in 
> order to handle XML.


Surf the Web in a faster, safer and easier way:
Download Opera 9 at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]