The best way that I have found is to use the following
VARIABLE=`echo $VARIABLE|dd conv=lcase 2>/dev/null`
Do a man on dd to see the other useful goodies.
The 2>/dev/null is optional, but does gives a cleaner output.
Regards
Enrico
On Mon, 12 Jun 2000, Bret Hughes wrote:
> SoloCDM wrote:
>
On Mon, Jun 12, 2000 at 03:57:12PM -0500, Bret Hughes wrote:
> SoloCDM wrote:
>
> > What commands convert casing to upper, lower, and proper (proper: as
> > in Virginia)?
> >
>
> tr will translate from on to the other. take a look at man tr. Also a
> thread awhile back that mentioned this. so
SoloCDM wrote:
> What commands convert casing to upper, lower, and proper (proper: as
> in Virginia)?
>
> Note: Detailed Document(s) and Sample(s) are more than welcome.
> When you reply to this message, please include
> the mailing list and my address.
>
> ***
I dunno about commands, but if you're writing software, I think ANSI C/C++
uses the functions tolower() and toupper() (I may be misremembering, tho)
> -Original Message-
> From: SoloCDM [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 12, 2000 10:22 AM
> To: Red Hat-List (redhat-list-reque