Follow-up Comment #9, bug #712 (project make): "How hard is it to handle quoting properly?" - impossible if we wish to maintain backward compatibility.
As Paul said nearly 4 years ago, make works in terms of "words" which are whitespace separated. The quotation that starts this comment is viewed by make as 8 words , the first of which is 4 characters long, a double quote followed by the letters 'H', 'o' and 'w'. "Heck, even DOS can accept quoted arguments.". Does it? I type echo "fred x" and it returns "fred x" rather than the fred x I would expect. And if I try and create a file called a"b from the command line it fails, if I try from wordpad it tells me the name is invalid. Unix allows any characters in components of filenames except NUL and /. Whilst this is very flexible it also causes problems. The people who wrote unix recognised this, and in their next operating system they restricted the characters permitted in filenames to not allow control characters and the normal whitespace characters. At the same time they extended the valid characters to include things like alpha α, which are outside the traditional ASCII character set. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?712> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make