Well, I had to remove the -r switch, because the program was assuming that $qt($2) was the line numbers to be returned, and as a result thought that the window name was a file name. Now the search works very well, and thanks for that, but it still doesn't show me what file the information came from, or give me a line number. I've altered it to give me the file name, but with out the line numbers it'll be harder to find what I'm after due to the fact some of these files can be more than 4000 lines long. Often times the same line can be used multiple times, making it even harder to find what I'm after. Can you find a way to return the line numbers the matched text is found at?
Here's the current check_pyfile alias.
check_pyfile {
if ($read($2,wn,$1) != $null) { aline @code_search $+ $2 $+ }
filter -fw $qt($2-) @code_search $1
}
Also, one thing I haven't figured out is what the /noop command is for. The information in the help file was not the least bit clear.
Edit: I think I understand it now. It just allows the use of identifiers with out an actual command being performed. In this alias, $findfile and $check_pyfile.