All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: add a grepenv command
Date: Sat, 17 Jul 2010 23:32:10 -0400	[thread overview]
Message-ID: <4C4275BA.8000802@gmail.com> (raw)
In-Reply-To: <20100716154150.42ea44c9@schlenkerla.am.freescale.net>

On 07/16/2010 04:41 PM, Scott Wood wrote:
> On Thu, 15 Jul 2010 22:15:22 -0500
> Kim Phillips<kim.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

      reply	other threads:[~2010-07-18  3:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16  3:15 [U-Boot] [PATCH] common: add a grepenv command Kim Phillips
2010-07-16  9:27 ` Wolfgang Denk
2010-07-16 10:29   ` Reinhard Meyer
2010-07-16 10:55     ` Wolfgang Denk
2010-07-16 19:02       ` Kim Phillips
2010-07-16 19:13         ` Wolfgang Denk
2010-07-16 18:42   ` Kim Phillips
2010-07-16 19:12     ` Wolfgang Denk
2010-07-16 20:41 ` Scott Wood
2010-07-18  3:32   ` Jerry Van Baren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C4275BA.8000802@gmail.com \
    --to=gvb.uboot@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.