Hi,
I've just come across a bit of problem I'm looking for a solution for, if anyone has any experience of this I'd really like some input. I'm sure it's something which can be done with textpad. It's something you could do in unix shell very easily but it's not practical. I have a list of functions each on a new line in a text document ;
function1()
function2()
function3()
There's about 200 of them, I need to be able to quickly search through all the files in a directory and list (as textpads search results do) the filename and line number of each occurence. A list of those which don't appear would also be useful.
Any suggestions.
Thanks
Andrew
Solution to find problem - is this possible with textpad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Sam
Re: Solution to find problem - is this possible with textpad
*I'M* not sure... Sounds like you want to grep with a pattern-list. Can't see anywhere that Textpad will let you do that. The closest would be a macro that would recursively select each line and copy it into a Find in Files function except...TP won't let you specify a Find in Files w/in a macro.
Maybe a tool that executes a program would work...
Maybe a tool that executes a program would work...
-
andrew taylor
Re: Solution to find problem - is this possible with textpad
Yeah, I thought I was being a bit ambitious, I ended up writing something in PHP to do the job. Thanks for having a think about it.
Regards
Andrew
Regards
Andrew