Uppercase a Bash input variable
zscoundrel
zscoundrel at kc.rr.com
Thu Apr 3 22:10:09 CST 2003
Number ARE lower case. !@#$%^&*()
(grin!!!)
Jeremy Fowler wrote:
> um... There is no such thing as lower case numbers.
>
>
>
>>-----Original Message-----
>>From: owner-kclug at marauder.illiana.net
>>[mailto:owner-kclug at marauder.illiana.net]On Behalf Of James Sissel
>>Sent: Wednesday, April 02, 2003 12:19 PM
>>To: kclug at kclug.org
>>Subject: Uppercase a Bash input variable
>>
>>
>>Using RedHat 7.3 and Bash 2.05a I can write the following script.
>>
>>
>>
>>echo -n "Please enter a date (DD-MON-YYYY): "
>>read indate
>>
>>
>>
>>How can I make sure indate is in uppercase?
>>
>>Thanks.
>>
>>This transmission (and any information attached to it) may be
>>confidential and is intended solely for the use of the individual or
>>entity to which it is addressed. If you are not the intended
>>recipient or the person responsible for delivering the transmission
>>to the intended recipient, be advised that you have received this
>>transmission in error and that any use, dissemination, forwarding,
>>printing, or copying of this information is strictly prohibited. If
>>you have received this transmission in error, please immediately
>>notify LabOne at the following email address:
>>securityincidentreporting at labone.com
>>
>>
>>
>>
>
>
>
>
--
A marble traveling at 22,000 miles per hour would strike with as
much force as a 400-pound safe traveling at just 60 miles per hour.
More information about the Kclug
mailing list