From owner-freebsd-rc@FreeBSD.ORG Sun Nov 4 12:30:01 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85011E22 for ; Sun, 4 Nov 2012 12:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6B81F8FC08 for ; Sun, 4 Nov 2012 12:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4CU150000867 for ; Sun, 4 Nov 2012 12:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA4CU1fT000866; Sun, 4 Nov 2012 12:30:01 GMT (envelope-from gnats) Date: Sun, 4 Nov 2012 12:30:01 GMT Message-Id: <201211041230.qA4CU1fT000866@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Chris Rees Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Chris Rees List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 12:30:01 -0000 The following reply was made to PR conf/166484; it has been noted by GNATS. From: Chris Rees To: "bug-followup@freebsd.org" Cc: Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together Date: Sun, 4 Nov 2012 12:21:22 +0000 I think this is a great idea. My only concern is the backslashitis in the finding of $rel, and also the fact that it won't catch 10 properly :) Instead of: rel=`expr \`uname -r\` : '\(.\)'` try: rel=$(expr `uname -r` : '\([0-9][0-9]*\)') Does anyone else have any opinions? Chris