![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl - converting selected characters to upper/lower case | doubleminus | UNIX for Dummies Questions & Answers | 2 | 05-19-2008 02:13 AM |
| Accepting Upper and Lower case | lweegp | Shell Programming and Scripting | 8 | 12-08-2007 06:57 PM |
| copy "cp" command how distinquish upper/lower case | bobk544 | UNIX for Dummies Questions & Answers | 1 | 09-17-2007 12:46 PM |
| lower case to upper case string conversion in shell script | dchalavadi | UNIX for Dummies Questions & Answers | 3 | 05-29-2002 01:07 AM |
| Upper And Lower Case | pciatto | Shell Programming and Scripting | 1 | 04-29-2002 01:17 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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?? thanx for the help |
|
||||
|
Works for me on HP-UX, Solaris, and Cygwin on Windoze.
# uname -a SunOS mysun 5.10 Generic_118833-17 sun4v sparc SUNW,Sun-Fire-T200# echo RED sox | tr 'a-zA-Z' 'A-Za-z' RED sox # uname -a HP-UX myhp B.11.11 U 9000/800 158454601 unlimited-user license # echo RED sox | tr 'a-zA-Z' 'A-Za-z' red SOX $ uname -a CYGWIN_NT-5.0 mypc 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin $ echo RED sox | tr 'a-zA-Z' 'A-Za-z' red SOX |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|