*BSD News Article 13265


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!uunet!quack!dfox
From: dfox@quack.kfu.com (David Fox)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: patch for bin/rm/rm.c
Message-ID: <f0Yl6J8@quack.kfu.com>
Date: 23 Mar 93 22:40:43 GMT
References: <1oligtINN6mj@ftp.UU.NET>
Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
Lines: 23

In article <1oligtINN6mj@ftp.UU.NET> sef@Kithrup.COM (Sean Eric Fagan) writes:
>"rm -f" doesn't work properly; it actually complains.  (How silly!)
>Here is a patch file that should fix it.

Personally, I've never experienced a problem with 'rm -f'.  OTOH, I noticed
a problem with 'rmdir directory/' (note the trailing separator).  It told
me that 'directory/ is a directory'.  If I omit the trailing backslash
it works fine, of course.  I'm not sure if this is the way it's supposed
to work.  Note that I'm using bash, and filename completion on a directory
name appends the backslash, and it's slightly inconvenient to have to redo
the command without the trailing backslash.



-- 
------------------------------------------------------------------------
in real life: david fox            email: dfox@quack.kfu.com
5479 Castle Manor Drive,                  
San Jose, CA 95129                 "Thanks for letting me change some
USA                                 magnetic patterns on your HD" -me
408-253-7992                        
"You've just won an absolutely FREE trip to the Isles of Langerhans" -me
------------------------------------------------------------------------