Am Dienstag, den 05.04.2011, 21:16 +0200 schrieb Nicolas de Pesloüan: > Why do you use construct like "${x}" instead of "$x"?
Because code isn't written once and then stays untouched forever. It changes over time and may be used in situations you did not anticipate. Writing solid code (and in shell scripts that definitely includes quoting your variables) avoids unnecessary bugs like this one. I've just seen too many poorly written shell scripts with hidden (sometimes even security-relevant) bugs to not do things properly. And it looks cleaner ;-) Best regards Alexander Kurtz
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel