Secondly, I suggest that if you're going to search through the contents of a file, read the lines of the file into an array or use a while loop. I find that I'm iterating over lines of a file much much more than I slurp the contents into a variable.
In reply to Re: Grepping a File
by jpeg
in thread Grepping a File
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |