From owner-freebsd-hackers Wed Apr 10 8:37:23 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 41C2137B41A for ; Wed, 10 Apr 2002 08:37:16 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.86.84]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 10 Apr 2002 11:36:15 -0400 Received: by i8k.babbleon.org (Postfix, from userid 111) id BE884BB39; Wed, 10 Apr 2002 11:36:07 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Bogdan TARU , Subject: Re: 'rm' incompatibility with Posix.2 Date: Wed, 10 Apr 2002 11:36:07 -0400 X-Mailer: KMail [version 1.3] References: <20020410171808.K82564-100000@fw.cgn.icom> In-Reply-To: <20020410171808.K82564-100000@fw.cgn.icom> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020410153607.BE884BB39@i8k.babbleon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 10 April 2002 11:21 am, Bogdan TARU wrote: | As well: | | bgd@web$ mkdir temp | bgd@web$ touch temp/a | bgd@web$ mkdir temp2 | bgd@web$ cp -R temp/ temp2/ | bgd@web$ ls -al temp2/ | total 3 | drwxr-xr-x 2 bgd wheel 512 Apr 10 17:20 . | drwxr-xr-x 14 bgd wheel 2048 Apr 10 17:20 .. | -rw-r--r-- 1 bgd wheel 0 Apr 10 17:20 a | | If ending a symlink with a slash is supposed to mean 'refer to the | directory it points to', I imagine ending a directory with a slash is even | more so. Then why, oh, why, 'cp -R' copies only the content of the | directory in the new location???? | | man cp: | | -R If source_file designates a directory, cp copies the directory and | the entire subtree connected at that point. | | Why do I have the feeling something goes terribly wrong here? That *would* seem to fly in the face of the previously-cited posix2 requirement. | | bogdan | | | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-hackers" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message