Rasmus,

On Tuesday 03 January 2006 07:20, Rasmus Plewe wrote:
> On Tue, Jan 03, 2006 at 06:49:15AM -0800, Randall R Schulz wrote:
> > On Tuesday 03 January 2006 04:43, jdd wrote:
> > > Reinhard Gimbel wrote:
> > > > That's why I use the "alias" feature of bash to set the
> > > > "-i"-option for most of the "dangerous" commands dealing with
> > > > file on CLI level
> > >
> > > and so most of the time you type rm -f *...
> >
> > Check it out. The "-i" option trumps "-f", regardless of their
> > order.
>
> $ touch foo
> $ rm -if foo
> $ touch foo
> $ rm -fi foo
> rm: remove regular empty file `foo'? y
> $

How very lame. What I said is true of "cp" but not of "rm!" (The cp 
behavior always bugs me 'cause adding the "-f" doesn't help and I have 
to enter the full path name to the binary if I want to overwrite a file 
with the cp command.)


> Rasmus


Randall Schulz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to