merging 2 files

Jean-Pierre Radley jpr at dasys1.uucp
Tue May 8 12:02:13 AEST 1990


>In article <757 at sagpd1.UUCP> jharkins at sagpd1.UUCP (Jim Harkins) writes:
>I need to change a lot of words with mixed upper and lower case letters into
>words of all lower case letters, from there I'm going to make a sed script
>to actually modify the words in our source.  So how do I make my list?
>For example, I want to convert the list
>
>FooBar			
>blaTZ
>GRMblE
>WhEe
>
>into
>
>FooBar	foobar			
>blaTZ	blatz
>GRMblE	grmble
>WhEe	whee

No sweat with 'tr':

	tr [A-Z] [a-z] <infile >outfile

-- 
Jean-Pierre Radley					      jpr at jpradley.uucp
New York, NY					      72160.1341 at compuserve.com



More information about the Comp.unix.questions mailing list