I am interested in displaying lines above and below a search string.
For example Users of VMS are familiar to this as SEARCH/WINDOW=n command, where the search command displays n lines around the found string line.
How can I do this in text pad?
Thanks
sanjay
lines with search string
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Roy Beatty
Re: lines with search string
Nomaaste,
How I miss VMS! The answer is no. The nearest method would be to Find in Files and navigate the links built into the Search Results.
But why not use grep? It can display lines surrounding a matching line. You can get a small footprint Win32 version of the most commuon Unix utilities here: <br>
http://www.weihenstephan.de/~syring/win32/UnxUtils.html
And here's documentation on grep if you need it:<br>
http://www.fsf.org/manual/grep-2.4/grep.html
HTH,
Roy
How I miss VMS! The answer is no. The nearest method would be to Find in Files and navigate the links built into the Search Results.
But why not use grep? It can display lines surrounding a matching line. You can get a small footprint Win32 version of the most commuon Unix utilities here: <br>
http://www.weihenstephan.de/~syring/win32/UnxUtils.html
And here's documentation on grep if you need it:<br>
http://www.fsf.org/manual/grep-2.4/grep.html
HTH,
Roy