U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] common: add a grepenv command
Date: Thu, 28 Apr 2011 00:57:56 +0200	[thread overview]
Message-ID: <20110427225756.8D123D52707@gemini.denx.de> (raw)
In-Reply-To: <20110405121514.8641e889.kim.phillips@freescale.com>

Dear Kim Phillips,

In message <20110405121514.8641e889.kim.phillips@freescale.com> you 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.
> 
> the following examples are on a board with a 5313 byte environment
> that spans multiple screen pages:
...
>  README                       |    1 +
>  common/cmd_nvedit.c          |   55 +++++++++++++++++++++++++++++++++++++++--
>  include/configs/corenet_ds.h |    3 +-
>  include/search.h             |    6 ++++
>  lib/hashtable.c              |   23 +++++++++++++++++
>  5 files changed, 84 insertions(+), 4 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Lispers are among  the  best  grads  of  the  Sweep-It-Under-Someone-
Else's-Carpet  School of Simulated Simplicity. [Was that sufficiently
incendiary? :-)]  - Larry Wall in <1992Jan10.201804.11926@netlabs.com

      reply	other threads:[~2011-04-27 22:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-01 22:46 [U-Boot] [PATCH v2] common: add a grepenv command Kim Phillips
2011-04-01 22:59 ` Wolfgang Denk
2011-04-01 23:06 ` Mike Frysinger
2011-04-04 19:45   ` [U-Boot] [PATCH v3] " Kim Phillips
2011-04-04 20:57     ` Wolfgang Denk
2011-04-05  1:18       ` [U-Boot] [PATCH v4] " Kim Phillips
2011-04-05 15:00         ` Peter Tyser
2011-04-05 15:46           ` Mike Frysinger
2011-04-05 17:15             ` [U-Boot] [PATCH v5] " Kim Phillips
2011-04-27 22:57               ` Wolfgang Denk [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=20110427225756.8D123D52707@gemini.denx.de \
    --to=wd@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox