From: Green, Simon (Simon.Green@EU.ALTRIA.COM)
Date: Tue May 04 2004 - 05:44:03 EDT
You can use the "tr" command to do this, but the best way is usually with
the "typeset" command.
e.g. typeset -u variable1="file.name.whatever"
You can simply do "typeset -u variable1" at the top of your script, then
whenever a value is assigned it will be converted to upper case.
-- Simon Green Altria ITSC Europe Ltd AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX N.B. Unsolicited email from vendors will not be appreciated. Please post all follow-ups to the list. > -----Original Message----- > From: faisalq@CYBER.NET.PK [mailto:faisalq@CYBER.NET.PK] > Sent: 30 April 2004 15:47 > To: aix-l@Princeton.EDU > Subject: Filename conversion to uppercase > > > Dear all, > > > > Can somebody pls. help with command to covert filename to uppercase.
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:53 EDT