perl -nle"/thesearchstring/ && print $." theFile [download]
The start of some sanity?
In reply to Re: Returning line numbers of a string by BrowserUk in thread Returning line numbers of a string by pts491