[X-Unix] Semi-newbe question

Russell McGaha RussellMcGaha at direcway.com
Sat Nov 27 19:30:24 PST 2004


Folks;
	I need a few pointers on an appropriate way to do the following:
		I've two files, call them file1 & file2.
		formated as follows: text1, text2, .... textx [return] ie [ascii 
chr(13)]
						textxy, ..., textxx [return]

(in other words a csv text file) and I need to take the coma's out and 
replace them with returns. (what I'd REALY like to do is combine them 
[textx1,texty1, return textx2,texty2, ... ect] but THAT"S gravy, I'd 
settle for just the biscuit right now.  BTW each file is a copy of 
hundred K, and I've got  to do this on a repetitive basis [one to two 
times a week.
		I USED to be able do just whip up a small program to do the job but; 
I'm woefully out of practice, so I'd be grateful for a cmd line EXAMPLE 
of how to do this.

in appreciation

Russell McGaha



More information about the X-Unix mailing list