From: Kim Phillips Date: Fri, 16 Jul 2010 14:02:56 -0500 Subject: [U-Boot] [PATCH] common: add a grepenv command In-Reply-To: <20100716105542.82500153A82@gemini.denx.de> References: <20100715221522.1dd4eecb.kim.phillips@freescale.com> <20100716092703.02D6D153A82@gemini.denx.de> <4C403472.3070907@emk-elektronik.de> <20100716105542.82500153A82@gemini.denx.de> Message-ID: <20100716140256.dd540fe6.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 16 Jul 2010 12:55:42 +0200 Wolfgang Denk wrote: > Dear "Reinhard Meyer (-VC)", > > In message <4C403472.3070907@emk-elektronik.de> you wrote: > > > > >> The grepenv command this patch adds can be used in lieu of printenv > > >> to facilitate searching. grepenv works like printenv but limits its output > > >> only to environment strings (variable name and value pairs) that match the > > >> user specified substring. > > > > My five cents to this: this addition command should be optional (#ifdef) anyway... > > Agreed... hmm - it adds ~450bytes text+data on powerpc. Is that the concern? I can make it optional, but, if so, I'd also like to add it to config_cmd_default.h instead of it being added to 100s of board config files. Kim