Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2003 20:58:56 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        "."@babolo.ru
Cc:        hackers@freebsd.org
Subject:   Re: Bridge config in /etc/rc (patch)
Message-ID:  <20030507205330.E310@atlas.home>
In-Reply-To: <1052346312.414067.669.nullmailer@cicuta.babolo.ru>
References:  <1052346312.414067.669.nullmailer@cicuta.babolo.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 May 2003 .@babolo.ru wrote:

[...]

> Interesting... IF new builtin command will be written,
> has it chance to be accepted?
> such as "list prefix" lists all sh variables with
> names prefix* ?

You mean something like:

 list_prefix() {
     eval "set |
         while read v; do case \$v in $1*) echo \"\${v%%=*}\";; esac; done"
 }

It forks an extra process, I know...

   $.02,
   /Mikko



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