Read a file called 'words' which contains one word per line. Read a file called 'search' that contains lines of text. Output the number of times each word in the words file is found in the search file, where the output file name is 'output'. The search is for exact matches, e.g. one ne One, for ne fortune. For example,
words:
one
two
three
search:
The one thing that is important is that one can find two things.
One other thing is that one plus one is two.
output:
one 4
two 2
three 0
2007-03-07
01:39:30
·
2 answers
·
asked by
confused
1
in
Computers & Internet
➔ Programming & Design