From owner-freebsd-hackers@FreeBSD.ORG Sat May 10 15:18:33 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C95D937B401 for ; Sat, 10 May 2003 15:18:33 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1289C43FD7 for ; Sat, 10 May 2003 15:18:33 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23]) by attbi.com (sccrmhc02) with SMTP id <2003051022183100200h7di2e>; Sat, 10 May 2003 22:18:32 +0000 Date: Sat, 10 May 2003 15:18:30 -0700 (PDT) From: Doug Barton To: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= In-Reply-To: <20030507205330.E310@atlas.home> Message-ID: <20030510151802.O5056@znfgre.qbhto.arg> References: <1052346312.414067.669.nullmailer@cicuta.babolo.ru> <20030507205330.E310@atlas.home> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT cc: "."@babolo.ru cc: hackers@freebsd.org Subject: Re: Bridge config in /etc/rc (patch) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 22:18:34 -0000 On Wed, 7 May 2003, Mikko Työläjärvi wrote: > 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" > } Yes, that's more or less what I had in mind. Doug -- This .signature sanitized for your protection