A few tidbits that might come in handy if you're doing anything more complex:
If you need to know the current line number, look at the $. variable (dollar dot).
The seek function can be used to go to a specific part of a file without reading the whole thing. The tell function returns the current file position in bytes, based at 0.
In reply to Re: Search Efficiency
by Cirollo
in thread Search Efficiency
by treebeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |