From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 31 16:54:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FCEB16A4DA for ; Mon, 31 Jul 2006 16:54:32 +0000 (UTC) (envelope-from raistlin@tacorp.net) Received: from mail.tacorp.net (mail.tacorp.net [64.254.140.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E68543D46 for ; Mon, 31 Jul 2006 16:54:31 +0000 (GMT) (envelope-from raistlin@tacorp.net) Received: from localhost (localhost [127.0.0.1]) by mail.tacorp.net (Postfix) with ESMTP id 9902C1B5027; Mon, 31 Jul 2006 12:54:30 -0400 (EDT) X-Virus-Scanned: amavisd-new at tacorp.net Received: from mail.tacorp.net ([127.0.0.1]) by localhost (mail.tacorp.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YAK6fGHsjUqt; Mon, 31 Jul 2006 12:54:29 -0400 (EDT) Received: by mail.tacorp.net (Postfix, from userid 1002) id 52D841B5053; Mon, 31 Jul 2006 12:54:29 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.tacorp.net (Postfix) with ESMTP id 514E71B504E; Mon, 31 Jul 2006 12:54:29 -0400 (EDT) Date: Mon, 31 Jul 2006 12:54:29 -0400 (EDT) From: Jason Slagle To: Mike Meyer In-Reply-To: <17614.10982.499561.139268@bhuda.mired.org> Message-ID: <20060731124934.A4444@mail.tacorp.net> References: <200607271150.k6RBoM9p031745@lurza.secnetix.de> <44C8FB65.9020102@FreeBSD.org> <44CE03D2.2050803@centtech.com> <17614.4005.407223.621637@bhuda.mired.org> <44CE199C.2020500@centtech.com> <17614.8289.134373.387558@bhuda.mired.org> <96b30c400607310847s1d2f845eo212b234d03f51e9a@mail.gmail.com> <17614.10982.499561.139268@bhuda.mired.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Juan Rodriguez Subject: Re: [PATCH] adding two new options to 'cp' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 16:54:32 -0000 On Mon, 31 Jul 2006, Mike Meyer wrote: > snake% uname -a > FreeBSD snake.mired.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > snake% ls -l /bin/cp > -r-xr-xr-x 1 root wheel 15300 May 6 23:56 /bin/cp > > flea# ls -l cp -rwxr-xr-x 1 root wheel 15300 Jul 31 12:52 cp flea# ./cp -a cp.o cp.o.2 flea# ./cp usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-apv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-apv] source_file ... target_directory flea# ls -l /bin/cp -r-xr-xr-x 1 root wheel 15300 Apr 24 13:55 /bin/cp flea# Looks to me with optimizations, the addition of the option seems to add nothing for the -a case at least. Jason -- Jason Slagle /"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . \ / ASCII Ribbon Campaign . X - NO HTML/RTF in e-mail . / \ - NO Word docs in e-mail .