Advertisement

12.02.2003 at 08:30AM PST, ID: 20814075
[x]
Attachment Details

delete blank lines & csv from a text file

Asked by kamur in MS DOS

Tags: file, blank, lines, delete, from

Hello,

How do I:

1) delete all blank lines from my input text file
2) My data is in 2 columns separated by space. Like:
    Data1          Data2
   
    Data3          Data4

    I want to make it a comma separated file. That is delete the spaces between the data and make it delimited by comma.

The output will be like:

Data1,Data2
Data3,Data4
(Blank lines deleted and a csv file)

Thanks

Start Free Trial
 
Loading Advertisement...
 
[+][-]12.02.2003 at 08:39AM PST, ID: 9859568

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS DOS
Tags: file, blank, lines, delete, from
Sign Up Now!
Solution Provided By: _nn_
Participating Experts: 2
Solution Grade: A
 
 
[+][-]12.02.2003 at 08:44AM PST, ID: 9859611

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.02.2003 at 08:45AM PST, ID: 9859622

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.02.2003 at 08:49AM PST, ID: 9859655

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32