On Wed, Jan 24, 2007 at 06:53:53AM -0800, Tom Phoenix wrote:
> 
> Why not simply move things to the trashcan, and skip rm altogether?

Yeah . . . I'd probably solve this problem by using the mv command.  If
you really wanted to, you could just write a shell or Perl script called
"trash" that moved files specified on the command line to a hardcoded
"trashcan" directory.  Why recreate rm just to add a single command line
option?

. . . and why not recreate it in C (or something vaguely equivalent) if
that's what you want to do, anyway?  If you really think it's important
enough, maybe you could make a case for that functionality being added
to the version of rm included with core utilities on your system.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"There comes a time in the history of any project when it becomes necessary
to shoot the engineers and begin production." - MacUser, November 1990

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to