[Top][All Lists]

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

Re: Quoted file names matching a pattern?

From: Ken Smith
Subject: Re: Quoted file names matching a pattern?
Date: Thu, 30 Jun 2005 14:02:58 -0400
User-agent: Mutt/1.5.9i

On Thu, Jun 30, 2005 at 01:36:57PM -0400, Paul D. Smith wrote:
> %% Ken Smith <address@hidden> writes:
>   ks> When I want to deal with strings in gmake which may have
>   ks> whitespace, I generally use $(subst) to replace the whitespace
>   ks> with some other non-whitespace token which I can parse out at the
>   ks> last minute just before I need to use it in its original form.
> This is the other option of course.
> The problem is that make won't know about this, so you end up having to
> create a lot of temporary files to be sure that the timestamps are
> correct.

The above method is the one I apply to strings in general when I must
preserve whitespace which includes but isn't exclusive to filenames.
I think I understand what you mean about timestamps but could you
elaborate?  Do you see the problem you mention in the example I sent?

  Ken Smith

> -- 
> -------------------------------------------------------------------------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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