Capitalize a variable in a shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I capitalize an existing variable in a shell script? Currently 
$variable is www.domain.com, and I need to create a $variable1 that contains 
WWW.DOMAIN.COM (I am currently using bash as shell)

Thanks a lot
-- 
Diego Lima
http://sg.homelinux.com:81

Attachment: pgpFOsxjGJjfP.pgp
Description: PGP signature


[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux