Actually, this might hurt your head less, tommyrot:
cat * | grep -cirh "panda"
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
Actually, this might hurt your head less, tommyrot:
cat * | grep -cirh "panda"
What version of grep are you using, Eddie? In GNU grep, those options don't do what you think they do.
Tommyrot, the "/i" at the end of the "/panda/i" pattern makes it case insensitive.
Tommyrot, the "/i" at the end of the "/panda/i" pattern makes it case insensitive.
Oh, OK, that makes sense.
grep 2.5.1-26
Ok, I just copied tommyrot's switches, but this would be more correct:
cat * | grep -ci "panda"
As I said before, that will only print out the number of lines that match, not the number of words.
D'oh! Yeah, you're right.
Here:
cat * | grep -i "panda" | wc -w
or to go within directories:
grep -ir "panda" * | wc -w
That will count the number of words in lines that have "panda" in them, including all the words that aren't "panda".
Ok, you win... I need more sleep.
Or at least a longtime companda.
Just quickly skimming to catch up on stuff, but....
So I ended up returning the Harmony 880 remote.
Wait, you returned the SEXIEST UNIVERSAL REMOTE IN THE WORLD?
Clearly, ND was talking about this remote in thread, but if he didn't post a picture, and possibly even if he did, it should be said that this remote is so pretty, you will want to have sex with it.
Maybe it's better that he returned it.