I need a program for search and counting words

Locked
Pete
Posts: 1076
Joined: Mon Jul 10, 2006 3:03 am

I need a program for search and counting words

Post by Pete »

Can someone tell me how/where do I go to search something like – How many times the word laundry appeared in this web page? When we write a document with Word, it tell us all about how many words, paragraphs and the like but if I use -find on this page the word laundry, it gives me the first ranking word but not the others. I don’t know but sometimes it can highlight all the search word but now it doesn’t work and I would much prefer that it tell me how many times instead than having to count them all.
Big Thanks.
I need this for a type of survey.
Pete
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

If you have a *NIX installed somewhere:

Code: Select all

wget -qO - http://www.somesite.com/path/to/index.html | grep -io laundry | wc -l
Pete
Posts: 1076
Joined: Mon Jul 10, 2006 3:03 am

Post by Pete »

^misantropia^ wrote:If you have a *NIX installed somewhere:

Code: Select all

wget -qO - http://www.somesite.com/path/to/index.html | grep -io laundry | wc -l
Thanks, I'm not a computer geek, so I was unable to use your suggestion. It gets me to the site but here is what it says.

Help Oops! The file you were looking for doesn't exist.
It might have been moved or deleted or you may have followed an incorrect link. Also check the address you entered for common errors.
DTS
Posts: 2879
Joined: Thu Jul 13, 2000 7:00 am

Post by DTS »

+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Post by +JuggerNaut+ »

Pete wrote:
^misantropia^ wrote:If you have a *NIX installed somewhere:

Code: Select all

wget -qO - http://www.somesite.com/path/to/index.html | grep -io laundry | wc -l
Thanks, I'm not a computer geek, so I was unable to use your suggestion. It gets me to the site but here is what it says.

Help Oops! The file you were looking for doesn't exist.
It might have been moved or deleted or you may have followed an incorrect link. Also check the address you entered for common errors.
lol, jesus
Locked