On 18-05-2015 06:52, Fernando de Oliveira wrote: > On 17-05-2015 23:07, Bruce Dubbs wrote: >> Ken Moffat wrote: >>> On Mon, May 18, 2015 at 01:23:52AM +0100, Ken Moffat wrote: >>>> I suppose I could use 'grep -e' : didn't think of that! >>>> >>> Wrong, of course (look at man grep or the egrep script to spot the >>> error) >> >> I didn't look. grep -E ? > > Neither did I. > > I use it almost every day: > > grep -vE 'html|archive|blfs-full' > > to avoid these results when grepping something in BLFS/trunk/BOOK. > > Another daily use: > > for i in usr/bin/* > do > echo $i && ldd $i | grep -E 'nspr|libplc|libplds' > done; unset i > > where I change 'nspr|libplc|libplds' to meet the needs of present > package being analysed.
FWIW, this post was meant as a joke between editors. I never compare Ken knowledge with mine. You, Ken, have much deeper and more extensive knowledge than me, in these matters. This was a rare occasion where I daily use some basic knowledge that you know, but had just forgotten the option was with capital E. Bruce's post surely was a joke, too. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
