summaryrefslogtreecommitdiff
path: root/lib/slre.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2013-03-23 23:50:30 +0000
committerTom Rini <trini@ti.com>2013-05-01 16:24:00 -0400
commitd87244d5af58cbc2d9cc3f5314648deb7810f10a (patch)
tree661c93ff4d5fd1ea8fc093527117bb354d28fa74 /lib/slre.c
parent5a31ea04c9ee5544fbb70ad7597ea4b294840eab (diff)
downloadu-boot-imx-d87244d5af58cbc2d9cc3f5314648deb7810f10a.zip
u-boot-imx-d87244d5af58cbc2d9cc3f5314648deb7810f10a.tar.gz
u-boot-imx-d87244d5af58cbc2d9cc3f5314648deb7810f10a.tar.bz2
"env grep" - add options to grep in name, value, or both.
Add options to "env grep" command: -n : search only the envrironment variable names -v : search only their values -b : search both names and values (= default) An option "--" will stop parsing options, so to print variables that contain the striing "- " please use: env grep -- "- " Or to print all environment varioables which have a '-' in their name, use: env grep -n -- - Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib/slre.c')
0 files changed, 0 insertions, 0 deletions