[comp.os.minix] Yes

dheinric@beaver.cs.washington.edu (04/18/88)

This is the simplest to solution to the problem of rm being aliased to
rm -i yet.  I have been sitting here reading all this stuff about yes
(pipes and devices) with amusement.  By the way, Minix doesn't have
named pipes, so the only way to create /dev/yes would be to add another
task, which would slow the system down, so it would slower then a yes
program.

Now for the solution:

When you want to remove things without confirmation, just type

/bin/rm ...  

That way the shell won't regonize it, and won't use the alias.  When
the shell checks for aliases it compares whole words (things seperated
by spaces).  Another thing you could do is make another alias

alias rmf /bin/rm

                                                           John Nemeth
                                                         Denis Heinrichs

UUCP:  {uw-beaver,ssc-vax,ubc-vision}!uvicctr!sol!dheinric
BITNET:  dheinric@uvvm