From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515871.tru64-unix-managers.marc@archive.invalid> From: "SIMEONE, Allan J." Date: Tue, 23 Feb 1999 14:22:54 +0000 To: tru64-unix-managers Subject: SUMMARY: ksh script question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515871 Just like that, I received about 15 answers! I knew it was an easy one. Thanks for the quick answers and too many to list here individually. Here are some examples: cat file.in | awk '{ print $1 " " tolower($1) }' >file.out _____________ touch output cat input | while read line do echo $line `echo $line | tr '[A-Z]' '[a-z]'` >> output done _______________ cp file temp dd if=temp conv=lcase of=temp2 paste temp temp2 > temp3 I only tried the first example and it worked fine. original question follows. thanks! Allan > ---------- > From: SIMEONE, Allan J. > Sent: Tuesday, February 23, 1999 9:03 AM > To: 'Tru64-unix-managers@ornl.gov' > Subject: ksh script question > > Hi All, > > Ksh script question. > > I have a file with the following (for example:) > > ABC123X > DEF123Z > GHI456A > > I need to get an output file with the following... > > ABC123X abc123x > DEF123Z def123z > GHI456a ghi456a > > Basically change the line to lower case but have both in the file. > There would be about 100 lines in the file. > > Can anyone send me an example on how to do this? > > thanks, > Allan >