Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 17:17:15 +0100
From:      Dirk Engling <erdgeist@erdgeist.org>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: Proposal ipv6_addrs_common
Message-ID:  <4F2FFD0B.3040203@erdgeist.org>
In-Reply-To: <20120206160719.GA71408@DataIX.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2FFD0B.3040203>