Vincent Lefevre (HE12026-11-16):
> I would have said that backslash + ASCII letter ([A-Za-z]) inside
> double quotes is safe (probably with digits too) as used in many
> scripts, and such characters are obviously not characters that need
> escaping.

Why would it be OBVIOUS that the shell do not use the same escaping
sequences as printf or the C language?

Also: are you sure of your statement, to the point of risking your
health on it? If not, be safe.

> And Debian (for instance) keeps distributing such scripts.

Debian does what it does, that has no relevance on advice given to
people who want to program robustly.

> There are cases when one wants to be able to do expansion, knowing
> that this is safe. For instance:

Yes, but what is your point?

-- 
  Nicolas George

Reply via email to