Jim Meyering wrote:
> Although "case $(PERL)" often works,
> and looks ok because we know "case $shell_var" does not
> require quotes around $shell_var, here $(PERL) must be quoted,
> because it is expanded by make.

Yes, you're right. My mistake.

In gnulib and gettext, I therefore always put double-quotes even at positions
where they are not necessary:
   case "$shell_var" in ...
It reduces the amount of little details you have to think at when coding.

Bruno



Reply via email to