On Fri, Dec 17, 1999, Alex wrote:
> I need in my shell script change upper case to 
> lower case for characters. Cureently , I call c 
> programm from script which do it.
> Is anybody did this inside script?

   Shells such as ksh (both PDKSH and AT&T KSH, available in
ports, support this) and bash have a typeset command.  To convert
something to all upper-case is surprisingly easy:

typeset -u variable

   Example:

$ typeset -u f
$ f=abc
$ echo $f
ABC

-- 
|Chris Costello <[EMAIL PROTECTED]>
|Beware of programmers who carry screwdrivers.  - Leonard Brandwein
`------------------------------------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to