On Wed, Jan 23, 2013 at 1:33 PM, Christopher Stone <[email protected]> wrote: > On Jan 23, 2013, at 11:16, Adam Engst <[email protected]> wrote: >> What I'm trying to do is create a text _factory_ that does a few standard >> grep replacements, and then calls something else to do this renumbering >> (since there's no other way to do the renumbering from within a text factory >> that I can think of). > > The most efficient way to do this would be to do all the replacements in Perl. > > Ronald, or JD, or another prop-jet-head can give you a template for the > find/replace that you can replicate and edit yourself.
Great - hopefully they'll know the trick for getting it to work as a Unix filter within a text factory. > Absent that I'd write it all as one Applescript (which can contain the Perl) > rather than futz around with the pieces of a TextFactory. I'm just being bloody-minded here, since I believe this should be doable entirely within a text factory. :-) If it's not, I'll just have Keyboard Maestro call the text factory and then run one of the scripts I already have. Besides, much as I love Keyboard Maestro, gotta learn new things... cheers... -Adam -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
