With regard to why this matters, it's not uncommon for badly written scripts to interpolate filenames directly into commands. Consider this Perl fragment:
$sessionFiles = `ls /tmp/session_*`;
system("rm -f $sessionFiles");
and what it would do with a file called: "/tmp/session_blah; chmod +s"It matters. Leaving a bug around is disgusting and wasteful especially when you can fix it.
* would be amazing if there weren't tons of other, much more significant, things that deserved attention in the relevant script, system, or the developer's life. (sign)*
Fixing bugs and writing programs that have as few bugs as possible is very important.
If your goal is to make your system as robust as engineerically possible, you should most likely pay more attention in some directions and less in other. It's not only about quantity - you better have no critical bugs then have only-a-very-few critical ones.
Waisting brain cycles to save CPU cycles (in the wrong places) is shameful, insulting and boring.
It would be amazing if there weren't tons of other, much more significant, things that deserved attention in the relevant script, system, or the developer's life. (sign)