
On 07/16/2010 04:41 PM, Scott Wood wrote:
On Thu, 15 Jul 2010 22:15:22 -0500 Kim Phillipskim.phillips@freescale.com wrote:
u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. 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.
Since it doesn't actually handle regular expressions, I'd call it something like findenv. Or fgrepenv. :-)
-Scott
Me too on "findenv". I don't like fgrepenv since it has the same problem as "grepenv". It actually is a gssp (global substring print) :-P.
gvb