Excel.

2009-03-24 Thread Mads Ruben Rennemo
MICROSOFT EXCEL. You edit my data. Did you consider that maybe, MAYBE, 8-16 wasn't a date and that you shouldn't convert it to August 16th? Or perhaps, not edit the DATA so that I could choose to reformat the cell to text and get back to 8-16 instead of 42853? Where the HELL did 42853 come from

Re: OO has it too (was: Excel.)

2009-03-24 Thread H.Merijn Brand
On Tue, 24 Mar 2009 06:35:48 -0700 (PDT), Ann Barcomb a...@domaintje.com wrote: On Tue, 24 Mar 2009, H.Merijn Brand wrote: OO is IMHO even worse, in that they say they follow the locale pretty strict, but they only follow $LANG and ignore $LC_* Set $LANG to en_US.utf8 and LC_PAPER to

Re: Excel.

2009-03-24 Thread Philip Newton
On Tue, Mar 24, 2009 at 12:43, Mads Ruben Rennemo madsru...@gmail.com wrote: Where the HELL did 42853 come from anyways? Honest question? (Fractional) days since the Excel epoch IIRC. Also, when I save you as a CSV, I expect a line break inside a cell to be removed or converted. I don't

Re: Excel.

2009-03-24 Thread demerphq
2009/3/24 Philip Newton philip.new...@gmail.com: On Tue, Mar 24, 2009 at 12:43, Mads Ruben Rennemo madsru...@gmail.com wrote: Where the HELL did 42853 come from anyways? Honest question? (Fractional) days since the Excel epoch IIRC. Excel Windows epoch. :-) (It was different on a Mac) Also,

Re: Excel.

2009-03-24 Thread Michael Poole
Philip Newton writes: On Tue, Mar 24, 2009 at 12:43, Mads Ruben Rennemo madsru...@gmail.com wrote: Where the HELL did 42853 come from anyways? Honest question? (Fractional) days since the Excel epoch IIRC. Normally, yes, except (with day 1 of the Excel epoch being 1/1/1900) day 42853 would

Re: Excel.

2009-03-24 Thread Dagfinn Ilmari Mannsåker
Philip Newton philip.new...@gmail.com writes: On Tue, Mar 24, 2009 at 12:43, Mads Ruben Rennemo madsru...@gmail.com wrote: Also, when I save you as a CSV, I expect a line break inside a cell to be removed or converted. I don't expect to see two 8-column lines in my 16-column CSV file. I

Re: Excel.

2009-03-24 Thread demerphq
2009/3/24 Dagfinn Ilmari Mannsåker ilm...@ilmari.org: Philip Newton philip.new...@gmail.com writes: On Tue, Mar 24, 2009 at 12:43, Mads Ruben Rennemo madsru...@gmail.com wrote: Also, when I save you as a CSV, I expect a line break inside a cell to be removed or converted. I don't expect to

Re: Excel.

2009-03-24 Thread Peter da Silva
On 2009-03-24, at 07:03, Philip Newton wrote: In Excel's little sub-dialect, for example, quotation marks around a field escape not only the field delimiter but also the record delimiter. As they should. Another fun little hateful fact about Excel is that CSV is really locale-specific list

Re: Excel.

2009-03-24 Thread H.Merijn Brand
On Tue, 24 Mar 2009 09:07:05 -0500, Peter da Silva pe...@taronga.com wrote: On 2009-03-24, at 07:03, Philip Newton wrote: In Excel's little sub-dialect, for example, quotation marks around a field escape not only the field delimiter but also the record delimiter. As they should.

Re: Excel.

2009-03-24 Thread H.Merijn Brand
On Tue, 24 Mar 2009 12:43:08 +0100, Mads Ruben Rennemo madsru...@gmail.com wrote: MICROSOFT EXCEL. You edit my data. Did you consider that maybe, MAYBE, 8-16 wasn't a date and that you shouldn't convert it to August 16th? It is worse even. If you have a value like 20090307, obviously an ISO

Re: Excel.

2009-03-24 Thread Jarkko Hietaniemi
I had to recently fight Excel not to convert e.g. postal code numbers and phone numbers to normal numbers. Here's the stomach-wrenching way to quote a cell in CSV so that Excel gets it: =01234 I won't bother explaining the whys because I will start sobbing. -- There is this special biologist

Re: Excel.

2009-03-24 Thread Peter da Silva
On 2009-03-24, at 08:28, H.Merijn Brand wrote: why on earth 2009-03-05 *WITH* quotes end up as May 03, 2009 - even in the Dutch locale - is way beyond my level of understanding. Because double-quotes are part of CSV field layout, and it's legal for a program to quote ALL strings. In one CSV

Re: Excel.

2009-03-24 Thread Joshua Rodman
On Tue, Mar 24, 2009 at 09:10:51AM -0500, Peter da Silva wrote: On 2009-03-24, at 08:28, H.Merijn Brand wrote: why on earth 2009-03-05 *WITH* quotes end up as May 03, 2009 - even in the Dutch locale - is way beyond my level of understanding. Because double-quotes are part of CSV field

Re: Excel.

2009-03-24 Thread Matthew King
Joshua Rodman jrod...@hate.spamportal.net writes: 2009-03-05 is always -MM-DD unless you're a moron. Ah well you see that's where Excel has one up on you. It is the effort of an impressive collection of morons all the way from the luser to the cpu. Matthew -- I must take issue with the

Re: Excel.

2009-03-24 Thread Peter da Silva
On 2009-03-24, at 06:43, Mads Ruben Rennemo wrote: Also, when I save you as a CSV, I expect a line break inside a cell to be removed or converted. I don't expect to see two 8-column lines in my 16-column CSV file. CSV supports line breaks, if they're quoted. I wrote a CSV parser last year

Re: Excel.

2009-03-24 Thread Bruce Richardson
On Tue, Mar 24, 2009 at 09:05:05AM -0500, Peter da Silva wrote: On 2009-03-24, at 06:43, Mads Ruben Rennemo wrote: Also, when I save you as a CSV, I expect a line break inside a cell to be removed or converted. I don't expect to see two 8-column lines in my 16-column CSV file. CSV supports

Thanks a lot, Sun

2009-03-24 Thread Dave Brown
Do you remember in the good old days, when Sun had this revolutionary thing called a Lights-Out Management, which was basically an overachieving serial console? One of the really cool things about the LOM was how you could actually power-cycle the server. You typed the following commands: