in reply to Re^2: complex text file to csv
in thread complex text file to csv

Will the content always start on the second line of the file and end at the first EOL-character or or is it really one big stream with possibly multiple EOL-characters inside the content?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^4: complex text file to csv
by mpaler (Initiate) on Jun 07, 2009 at 00:45 UTC
    The latter is true. Here's two more examples with variable EOLs:
    {*JohnDoe* (Thursday, April 01, 2004, 16:04): CATALYST A substance that changes the rate of a chemical reaction without itsel +f undergoing permanent change in composition or becoming a part of th +e molecular structure of the product. A catalyst markedly speeds up t +he cure of a compound when added in minor quantity as compared to the + amounts of primary reactants. See, Methyl_Ethyl_Ketone_Peroxide }
    and
    {*KeithMelville* (Thursday, April 01, 2004, 16:23): CHEATER COAT 1) Resin applied to wood, especially porous ones such as balsa_wood, b +efore laminating as a pre-treatment, to prevent a dry_spot in the lam +ination caused by wood soaking up the resin. 2) Basting of laps or low spots with laminating resin before a hot_coa +t is sometimes called a cheater_coat. See [[basting]]. }