From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 24 12:42:32 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9DCD1065698 for ; Tue, 24 Aug 2010 12:42:32 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1858FC1F for ; Tue, 24 Aug 2010 12:42:32 +0000 (UTC) Received: by yxe42 with SMTP id 42so2958822yxe.13 for ; Tue, 24 Aug 2010 05:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=pMPEaQxReoz77+8ZgcvfrWGEzmJ+QpkrNlmk1KNAmW8=; b=NG2SLgXIVOAsslNX5Bhs3EwG1sMlfiVn0v6mbyuIuSYjsbcs0x0Eo9ZMZB/0748w3G Au3ZZ95RHjLSg4YtsLpjvycKyVlaUF1xjBbVyCtgP6w2R2THwXJBJZwB/kJJBqBs3iZb Ss1fZ3KGsNXegVyK5eDi2LQCSMCq+erHFPBuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=XIc+KHVzDyDzA0l8rGS+41gEFZ784mTqPkn3kH8NWRzhyZY91ActoV5EGy7PecH2SN OUJcpDgGlo9r2swLJD/H5A9K1T+K+f9U+zMtYKzOoh+H329rvpO+m8mYKEKznG1uv1qN 7Gt8fpUtBod9RHORSQRUcLYbdSdVGBLDvP1Po= Received: by 10.151.141.20 with SMTP id t20mr6623381ybn.438.1282653750693; Tue, 24 Aug 2010 05:42:30 -0700 (PDT) Received: from centel.dataix.local (adsl-99-190-84-182.dsl.klmzmi.sbcglobal.net [99.190.84.182]) by mx.google.com with ESMTPS id i4sm134110ybd.15.2010.08.24.05.42.28 (version=SSLv3 cipher=RC4-MD5); Tue, 24 Aug 2010 05:42:29 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C73BE32.20109@DataIX.net> Date: Tue, 24 Aug 2010 08:42:26 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100806 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Alexander Best References: <201008240230.o7O2U4aR098753@freefall.freebsd.org> <20100824113644.GA81268@freebsd.org> In-Reply-To: <20100824113644.GA81268@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Andy Farkas , freebsd-bugs@freebsd.org Subject: Re: bin/144531: [patch] cp(1) show percentage complete X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 12:42:32 -0000 On 08/24/2010 07:36, Alexander Best wrote: > On Tue Aug 24 10, Andy Farkas wrote: >> On Tue, Aug 24, 2010 at 12:30 PM, Alexander Best wrote: >> >>> i don't think the original patch you submitted will be accepted by any >>> developer since it breaks the behaviour of `cp -v`. you might want to add a new >>> switch to trigger the extra output from your patch. just be sure you don't use >>> any switch that's already taken by POSIX [1]. >> >> Any chance of `cp -vv` -> `be more verbose`? > > that would be an option or using a completely dfferent switch (like -V e.g.). > > the problem is not tech related, but community related. if anybody feels `cp` > needs this patch, he/she should start a discussion on one of the mailinglists i > mentiooned beforehand. > > cheers. > alex > >> >> -andyf >> >> ps. I've been using this patch for some time and think it quite useful during >> interactive work. > This is what textproc/bar is for & built-in shell aliases. $ bar -o /path/to/output/file /path/to input file. See: http://www.theiling.de/projects/bar.html for example usage. Even with the above I am not saying the patch is wrong in any way but '-vv' has my vote if it is committed and I am downloading the patch locally right now. Normally I would just use rsync if I wanted the output while copying files to track percentage but this is not really that bad of an addition especially if it can also make its way to mv(1) too. Thanks & Good Luck, -- jhell,v