Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 21:08:45 +0400
From:      "Andrew P." <infofarmer@gmail.com>
To:        Jonathan Glaschke <no-html@jonathan-glaschke.de>
Cc:        questions@freebsd.org
Subject:   Re: how to convert lower case to uppercase in a word in a line ?
Message-ID:  <cb52064205091610087a76e1f4@mail.gmail.com>
In-Reply-To: <20050916161035.GA14183@kuckucksei.jogla>
References:  <015201c5bad6$78eaf940$dc96eed5@ihlasnetym> <20050916161035.GA14183@kuckucksei.jogla>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/16/05, Jonathan Glaschke <no-html@jonathan-glaschke.de> wrote:
> Hello,
> On Fri, Sep 16, 2005 at 06:51:16PM +0300, Yavuz Maslak wrote:
> > Hello
> >
> > There is a word that consists lowercases.
> > How to change all of letters capital letters in stead of lowercase ?
> > is there any script about that ?
> > Thanks
> > _______________________________________________
> Or you do this using perl:
>=20
> $ perl -e 'chomp && system("mv $_ ".uc($_)) foreach `ls`;'
>=20

sed, awk, python, php, ruby, <whatever> versions are to follow
shortly :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb52064205091610087a76e1f4>