in reply to Re: splitting cvs file without line breaks
in thread splitting cvs file without line breaks

Hmm... based on the sample input
"Tender Total" 2007-05-14 00:00:00.0

would make up just one field? And that's where the line break was..

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^2: splitting cvs file without line breaks

Replies are listed 'Best First'.
Re^3: splitting cvs file without line breaks
by Limbic~Region (Chancellor) on May 15, 2007 at 17:09 UTC
    shmem,
    You are correct and I was wrong. I had incorrectly assumed that the line endings had been replaced with the CSV delimeter. The process I outlined could still work but it would be more cumbersome (splitting Nth fields).

    Cheers - L~R