Jarkko Hietaniemi wrote:
> Gerry Lawrence wrote:
>   
>> It gets worse.
>>
>> In newer versions, rm does this behavior by default, without being
>> aliased to rm -i.
>>     
>
> Please do tell me you are joking?
>   

Not joking but I should have made the disclaimer that this is a new
thing to tcsh.
Yes, I know no one in the world still uses tcsh.  Well, I do.  Oh well.

behold:

set | grep rmstar
rmstar
rm *
Do you really want to delete all files? [n/y] y

touch a b c d e gf
unset rmstar
rm *
echo $SHELL
/bin/tcsh                                   

>   
>> In this case, you'll need to unset rmstar to get rm to not annoy you.
>>
>> You see, they discovered that advanced users were aliasing rm to rm -i
>> -- Can't have that! Oh no!
>>     
>
>   
>
>   

Reply via email to