The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: unix command to reverese lower and upper case
arbonboy
Newbie
Rank: 1



UID 55
Digest Posts 0
Credits 0
Posts 35
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 01:42 PM  Profile | P.M. 
unix command to reverese lower and upper case



unix command to reverese lower and upper case



im trying to find a command to
change all upper case to lower case and
all lower case to upper case.

for example:
file is 'red sox'
need it changed to 'red sox'

tried tr 'a-za-z' 'a-za-z' didn't work

what an i missing??


Top
JKhoury
Newbie
Rank: 1



UID 203
Digest Posts 0
Credits 0
Posts 47
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 01:43 PM  Profile | P.M. 
i tried


code:
tr "a-za-z" "a-za-z"
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:38 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.004748 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP