std.path.getName(): Screwy by design?

Adam Ruppe destructionator at gmail.com
Tue Mar 1 07:39:35 PST 2011


The best part is taking the file name issue and combining it with the
shell expansion design unix has.

mkdir something
touch something/test
touch -- -R
touch test
rm *


Every file will be destroyed, including subdirectories....except the
murderous -R file!


More information about the Digitalmars-d mailing list