Do not do this, use the others, they increase in a linear proportion with the size of the text file, and do not require entire file to be loaded into memory.
In reply to Re^2: Finding Line numbers in a file
by reasonablekeith
in thread Finding Line numbers in a file
by sanPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |