Subject: Re: make can't uppercase/lowercase variables...
To: None <tech-toolchain@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 01/16/2002 20:00:34
On Wed, Jan 16, 2002 at 10:35:44PM -0500, kpneal@pobox.com wrote:
> FreeBSD make has the ability to uppercase or lowercase a variable
> by using the U or L modifiers. Say, if FOO=bar, then ${FOO:U} == BAR.
>
> NetBSD make does not have this ability. Since NetBSD make uses U and
> L for something totally different, we would need a different set
> of modifiers. I propose something like modifiers of "tu" and "tl"
> (for "toupper" and "tolower").
>
> If I kick in the code would someone commit it? Please?
Those modifiers sound fine to me. Be nice if you could get other
BSD make(1)'s to support it, too.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>