std.path.getName(): Screwy by design?
"Jérôme M. Berger"
jeberger at free.fr
Tue Mar 1 10:26:18 PST 2011
Adam Ruppe wrote:
> 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!
Well, you *did* ask for everything to be removed! So the only issue
is that this does not remove the -R file...
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110301/3abf9ff9/attachment.pgp>
More information about the Digitalmars-d
mailing list