Page 1 of 1

Find & Replace in files

Posted: Fri Jan 30, 2004 2:52 am
by gracefool
This is the polled replacement topic for the previous Multi-file seach & replace.

Currently, TextPad has a "Find in Files" feature, but no "Replace in Files".

As s_reynisson pointed out, there are external programs available - however, they all use different regular expression syntax to TextPad. I don't want to have to hold two slightly different syntaxes in my head at once - if I use these external tools, I won't use TextPad for text replacement any more.

- Chris

P.S. For the purposes of jeffy's application, the first two and last two poll options should be merged.

Woopsie

Posted: Fri Jan 30, 2004 2:56 am
by gracefool
Ooops, I didn't see the other poll on this topic :oops:

Re: Find & Replace in files

Posted: Fri Jan 30, 2004 3:45 am
by s_reynisson
I agree! Using the same regex engine for both is a must IMHO.
gracefool wrote:... they all use different regular expression syntax to TextPad. I don't want to have to hold two slightly different syntaxes in my head at once ...
ps. If you want to start a "legal" poll with the standard five options, just edit the
subject for this one to "Invalid poll" or something like that, I always do :oops:
I think it would be unfair to jeffy to have to hand pick them out one by one.

Basically legal

Posted: Fri Feb 06, 2004 2:08 am
by gracefool
There's nothing invalid about this poll - as I said, all jeffy has to do for his statistics is merge the first two and last two options. It's not really any harder for him to do (I'm assuming he does it by hand).

I like the two extra options, because they show what people *really* want - someone may indicate option 2 "very important" for almost everything, but hopefully they are honest and will choose option 1 only once.

Posted: Fri Feb 06, 2004 2:55 am
by Bob Hansen
I'm assuming he does it by hand
No Way!

Jeffy can speak for himself, but the time to manually generate his poll summaries would be prohibitive. He has written a routine that automatically generates his reports. Time is contributed by him, and I would not ask him to do anything extra, hate to burn out a volunteer. Helping him can only help us. I don't think his requested format is too much to ask of us......only hope that Helios is reading his reports and planning to provide enhancements that the community is looking for.

Posted: Fri Feb 06, 2004 2:58 am
by gracefool
Ah, thanks Bob. Oh well, too late now for this poll, but I'll stick to the rules in future 8)

Posted: Fri Feb 06, 2004 3:14 am
by Bob Hansen
I haven't voted (if not conforming to Jeffy's specs I refuse to vote), so I don't know the current results. But it may still be possible for you to edit the poll? Anyway, the suggestion is good and I would probably have voted for it.

Posted: Fri Feb 06, 2004 4:30 am
by gracefool
:( Can't edit polls (makes sense, how could you?)