Date: Sat, 22 Oct 2011 11:12:02 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Garrett Cooper <yanegomi@gmail.com> Cc: Craig Rodrigues <rodrigc@crodrigues.org>, freebsd-current@freebsd.org Subject: Re: sys/conf/newvers.sh vs. subversion-1.7 Message-ID: <4EA30772.8090709@FreeBSD.org> In-Reply-To: <alpine.BSF.2.00.1110220801140.38610@toaster.local> References: <20111020114844.GK59810@albert.catwhisker.org> <20111020122121.GL59810@albert.catwhisker.org> <201110211636.05917.jhb@freebsd.org> <20111021211221.GV59810@albert.catwhisker.org> <CAG=rPVfD8EZYpD_SQES2%2B9uUeqGOaAhW3asJbVeGKeV3er2ZKw@mail.gmail.com> <4EA21842.5000808@FreeBSD.org> <CAG=rPVeBQq5srTTjHDg-9Yc7R%2B5%2Buhm4BgzvhxEJ4KyN9ef%2B7w@mail.gmail.com> <alpine.BSF.2.00.1110220801140.38610@toaster.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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? :)
--
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA30772.8090709>
