Vincent Lefevre (HE12026-11-16): > Yes, but AFAIK, this is valid. At least code like > printf "...\n" > is very common in shell scripts (including /bin/sh ones).
Using echo -n is quite common too. I thought you were arguing for something as standard and robust as possible. Nothing that relies on a comprehensive list of special characters is robust. Can you tell, without looking at the standard, the exact list of characters in front of which backslash is an escaping character rather than the character backslash itself? And can you tel, for most common implementations of the shell, if they conform to the standard? Regards, -- Nicolas George

