From owner-freebsd-rc@FreeBSD.ORG Mon Feb 6 16:17:19 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03016106566B for ; Mon, 6 Feb 2012 16:17:19 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.13.206.130]) by mx1.freebsd.org (Postfix) with ESMTP id 37C978FC13 for ; Mon, 6 Feb 2012 16:17:17 +0000 (UTC) Received: (qmail 99851 invoked from network); 6 Feb 2012 16:21:07 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with CAMELLIA256-SHA encrypted SMTP; 6 Feb 2012 16:21:07 -0000 Message-ID: <4F2FFD0B.3040203@erdgeist.org> Date: Mon, 06 Feb 2012 17:17:15 +0100 From: Dirk Engling User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 CC: freebsd-rc@freebsd.org References: <4F2F209F.90309@erdgeist.org> <20120206.101800.1389796154758679137.hrs@allbsd.org> <4F2F3459.3090401@erdgeist.org> <20120206.114622.2214566196455293098.hrs@allbsd.org> <20120206160719.GA71408@DataIX.net> In-Reply-To: <20120206160719.GA71408@DataIX.net> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Proposal ipv6_addrs_common X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Mon, 06 Feb 2012 16:17:19 -0000 On 06.02.12 17:07, Jason Hellenthal wrote: >> ifconfig_tap0_aliases=" >> inet6 2001:db8:8888:2::1/64 >> inet6 2001:db8:9990-9999:3::1/64 >> inet 10.8.1.1/24 >> inet 10.8.0.1-10/24 >> " > > If only we had a shell that could do arrays properly. Beit ksh or an > adjustment to /bin/sh it certainly would be helpful in these cases. This is not necessary. None of the parameters contains spaces, so the syntax is left regular and can easily be parsed in sh. I also do not think that the newlines are necessary to separate tokens the form ifconfig_tap0_aliases=" \ inet6 2001:db8:8888:2::1/64 \ inet6 2001:db8:9990-9999:3::1/64 \ inet 10.8.1.1/24 \ inet 10.8.0.1-10/24" would be just fine. erdgeist