in reply to Re: word boundary match problem
in thread word boundary match problem

I'm not quite sure what you are counting. 171 seems to big a value for you to be counting the number of words in the filenames of files in the current directory whos names match one of the lines in your datafile, but I think that is what you are doing.

glob returns the literal pattern when there isn't a match, which in this case will be the lines of the file.

/J\