help-make
[Top][All Lists]
Advanced

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

Re: Impossible to do this in make :-(


From: Paul Smith
Subject: Re: Impossible to do this in make :-(
Date: Wed, 05 Feb 2014 14:03:25 -0500

On Wed, 2014-02-05 at 10:55 -0800, Rakesh Sharma wrote:
> Wanted to do a lowercase => uppercase conversion so wrote this (picked
> from stackoverflow)
> 
> lc = $(subst a,A,$(subst b,B,$(subst c,C,.....,$(subst z,Z,$1))....)
> 
> As is, the above works. But I wanted to bring in "eval" here to avoid
> typing this whole thing.😎
> 
> But to my utter surprise & then dismay, I found it impossible to write
> the RHS in any manner amenable to be eval-ed.

Go get GMSL and be amazed and gratified:

http://gmsl.sourceforge.net/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]