std.path.getName(): Screwy by design?
    Steven Schveighoffer 
    schveiguy at yahoo.com
       
    Tue Mar  1 07:57:26 PST 2011
    
    
  
On Tue, 01 Mar 2011 10:39:35 -0500, Adam Ruppe <destructionator at gmail.com>  
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!
ooooh, that is NASTY.
-Steve
    
    
More information about the Digitalmars-d
mailing list