[wellylug] perl - capitalize all text in file
John Fouhy
jfouhy at paradise.net.nz
Wed Mar 30 20:05:45 NZST 2005
Mark Signal wrote:
> I have a large text file containing a mixture of lowercase and uppercase
> text (and numbers). I need to make all lowercase text become uppercase.
>
> I've done this before and forgotten the syntax - so much for my file
> organizing.
Does it have to be perl?
--------mixedcase---------
HelLo wOrLd!
ThiS IS a mIxED CasE filE.
--------------------------
$ < mixedcase | tr a-z A-Z
HELLO WORLD!
THIS IS A MIXED CASE FILE.
--
John.
More information about the wellylug
mailing list