make-alpha
[Top][All Lists]
Advanced

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

Re: Quoting special characters (was: Re: Possible solution for special c


From: Tim Murphy
Subject: Re: Quoting special characters (was: Re: Possible solution for special characters in makefile paths)
Date: Wed, 26 Feb 2014 15:53:09 +0000

On 26 February 2014 15:14, Frank Heckenbach <address@hidden> wrote:
> Tim Murphy wrote:
>
>> Note that this use of cat is not "space safe"
>> > FOO = a'()'b
>> > all: $(FOO); cat $(FOO)
>>
>> It should be:
>> > all: $(FOO); cat "$(FOO)"
>>
>> ... in which case the shell would act the same as make does.
>
> But not in the way intended, because it would act on a file called
> «a'()'b», including quotes, while this was meant to refer to a file
> called «a()b». You see this more clearly if you consider the planned
> use of backslash escapes:

I think I'm making the the same point as you accidentally.  Hence I
also prefer $[] or $(quote)

-- 
You could help some brave and decent people to have access to
uncensored news by making a donation at:

http://www.thezimbabwean.co.uk/friends/



reply via email to

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