From owner-freebsd-current@FreeBSD.ORG Sat Oct 22 19:13:12 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 5F6A1106567D for ; Sat, 22 Oct 2011 19:13:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id EC1C3155AD1; Sat, 22 Oct 2011 19:13:10 +0000 (UTC) Message-ID: <4EA315C6.4040305@FreeBSD.org> Date: Sat, 22 Oct 2011 12:13:10 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: Boris Samorodov References: <20111020114844.GK59810@albert.catwhisker.org> <20111020122121.GL59810@albert.catwhisker.org> <201110211636.05917.jhb@freebsd.org> <20111021211221.GV59810@albert.catwhisker.org> <4EA21842.5000808@FreeBSD.org> <4EA30772.8090709@FreeBSD.org> <4EA3145A.6020703@passap.ru> In-Reply-To: <4EA3145A.6020703@passap.ru> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Garrett Cooper , freebsd-current@freebsd.org Subject: Re: sys/conf/newvers.sh vs. subversion-1.7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2011 19:13:12 -0000 On 10/22/2011 12:07, Boris Samorodov wrote: > 22.10.2011 22:12, Doug Barton пишет: >> On 10/22/2011 08:29, Garrett Cooper wrote: >>> $(svn info | awk '/^Revision:/ {print $2}') >> >> 2 subshells and a pipe for this, vs. only 1 subshell for just running >> svnversion. >> >> Anyone else want to propose a more complex solution when a simple and >> more effective one already exists? :) > > I'm not an exert here, so I'm not sure which one and why did you call > "simple and more effective": Please read the rest of this thread, where the fact that svnversion does more than what 'svn info' does, and that people find the more that it does to be useful. So "simpler" is "one command, not 2 or more," and "more effective" is "provides more information, and people find that extra information useful." :) hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/