I think the point that was trying to be made is the following - if
   the user does

   $ cd /tmp
   $ rm *

   then they know exactly why files are being removed.  But if they do

Not if * gets expanded to `-rf /home/ams'.

   $ cd /tmp
   $ eval `dircolors`

   then they don't expect any side effects other than to the
   environment (although a craftily named file in /tmp can cause just
   that, by inserting arbitrary shell code into the arguments to eval
   during filename globbing expansion).

Which is exactly the same thing as `rm *' in /tmp where there is a
file called `-rf /tmp/ams'. 


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to