sys/conf/newvers.sh vs. subversion-1.7

Doug Barton dougb at FreeBSD.org
Sat Oct 22 18:12:03 UTC 2011


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/



More information about the freebsd-current mailing list