From owner-freebsd-hackers Sun Sep 12 8:14:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta2.rcsntx.swbell.net (mta2.rcsntx.swbell.net [151.164.30.26]) by hub.freebsd.org (Postfix) with ESMTP id 8A12614D70 for ; Sun, 12 Sep 1999 08:14:11 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (adsl-216-62-157-60.dsl.hstntx.swbell.net) by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.05.24.18.28.p7) with ESMTP id <0FHY0040YCYZ6O@mta2.rcsntx.swbell.net> for hackers@FreeBSD.org; Sun, 12 Sep 1999 10:13:47 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id KAA16016; Sun, 12 Sep 1999 10:13:46 -0500 (CDT envelope-from chris) Date: Sun, 12 Sep 1999 10:13:45 -0500 From: Chris Costello Subject: Re: more info Re: how did I manage this? In-reply-to: <19990912100557.E14022@holly.calldei.com> To: Wayne Cuddy Cc: hackers@FreeBSD.org Reply-To: chris@calldei.com Message-id: <19990912101345.F14022@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.6i References: <19990911160425.B13033@holly.calldei.com> <19990912100557.E14022@holly.calldei.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 |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