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.
>
> ***
List (redhat-list-request)
> Subject: Converting Case Lettering
>
> 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
&
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.
*