Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 10:13:45 -0500
From:      Chris Costello <chris@calldei.com>
To:        Wayne Cuddy <wayne@crb-web.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: more info Re: how did I manage this?
Message-ID:  <19990912101345.F14022@holly.calldei.com>
In-Reply-To: <19990912100557.E14022@holly.calldei.com>
References:  <19990911160425.B13033@holly.calldei.com> <Pine.LNX.4.10.9909121133280.7847-100000@crb.crb-web.com> <19990912100557.E14022@holly.calldei.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 12, 1999, Chris Costello wrote:
> > However, if do a 'cd \$DEST_DIR' I end up in the root directory.  If I do a
> > 'rm $DEST_DIR/', I get 'rm: /: is a directory'.  If it can't be a hard link I
> > have no idea what it is.
> 
>    That's because $DEST_DIR is expanding to "/".

   Oops!  No it's not.  It's expanding to nothing because it's
unset.  See my second paragraph (sentence):

>    Try unsetting that variable and then enclosing it in single
> quotes in your rm command.

-- 
|Chris Costello <chris@calldei.com>
|A low level language is one whose programs
|require attention to the irrelevant.
`------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990912101345.F14022>