make-alpha
[Top][All Lists]
Advanced

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

Re: Quoting special characters


From: Paul Eggert
Subject: Re: Quoting special characters
Date: Sat, 22 Feb 2014 10:22:57 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Paul Smith wrote:
Users can choose whatever SHELL value they want, for example, and I
certainly would not want to provide a solution that worked only when a
POSIX-y shell was used.

These days almost nobody (no one?) uses 'make' with a shell that doesn't support standard POSIX shell quoting with '. Do we really need to worry about people using the likes of rc for their shell?

It might be better to use a quoting regime that exploits the shell rather than an independent quoting regime that operates entirely outside the shell. People who write makefiles need to know the shell quoting rules already, so if 'make' uses compatible quoting rules it'd be one less thing to learn.

Of course such a regime would need to be designed....



reply via email to

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