From owner-freebsd-current Mon Apr 30 9:30:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id DDC2637B422 for ; Mon, 30 Apr 2001 09:30:41 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3UGUVs13476; Mon, 30 Apr 2001 09:30:31 -0700 (PDT) (envelope-from obrien) Date: Mon, 30 Apr 2001 09:30:27 -0700 From: "David O'Brien" To: Sheldon Hearn Cc: Jeroen Ruigrok/Asmodai , current@freebsd.org Subject: Re: cp -u patch Message-ID: <20010430093027.A13451@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20010426222132.B55566@daemon.ninth-circle.org> <13362.988617369@axl.fw.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <13362.988617369@axl.fw.uunet.co.za>; from sheldonh@uunet.co.za on Mon, Apr 30, 2001 at 09:56:09AM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 30, 2001 at 09:56:09AM +0200, Sheldon Hearn wrote: > > Question is, do we want to add this to our cp? > > Bleh. :-) Blah. > for i in `find /path/to/src`; do > if [ $i -nt /path/to/dst/$i ]; then > cp $i /path/to/dst/ > fi > done Do you also suggest we get rid of `more' as its functionality can be implimented using cat and sed? I personally find this option useful enough that I have to keep `gcp' around. I guess I got used to using a simular utility under M$-DOS and thus it makes sense to me. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message