RE: CF Studio extension
You can do replaces based on regular expressions, if that helps. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Barney Boisvert [mailto:[EMAIL PROTECTED]] : Sent: Monday, February 17, 2003 3:49 PM : To: CF-Talk : Subject: CF Studio extension : : : Anyone have a CF Studio script that does a recursive parse of a directory : and manipulates the files within. Basically, I'm looking for the same : functionality as is provided by the extended search/replace, except the : ability to do a custom action on files, rather than only a search and : replace. : : TIA, : barneyb : : --- : Barney Boisvert : PIER System, Inc. : barneyb at piersystem.com : (360) 671-8708 : --- : Outgoing mail is certified Virus Free. : Checked by AVG anti-virus system (http://www.grisoft.com). : Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Studio extension
Yeah, that's what I'm using, but i'm really looking for a way to store the whole search and replace operation in a single place for easy reuse. It's actually two related SRs that convert some stuff to a different format, and then convert it back (for turning on/off extra debugging information). Right now I have the REs and replacment strings saved in a file and copy and paste them into the CFS extended SR dialog when I want to use them, but that's a pain in the ass, as you might imagine. If I could just save a search and replace setup, that'd work too, but I haven't found any way to do that. Plus, it'd be nice to be able to do non-SR operations (like computing a line count or something) with the same tool, just plug in a different action and keep the recursive parse the same. cheers, barneyb -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 1:41 PM To: CF-Talk Subject: RE: CF Studio extension You can do replaces based on regular expressions, if that helps. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Barney Boisvert [mailto:[EMAIL PROTECTED]] : Sent: Monday, February 17, 2003 3:49 PM : To: CF-Talk : Subject: CF Studio extension : : : Anyone have a CF Studio script that does a recursive parse of a directory : and manipulates the files within. Basically, I'm looking for the same : functionality as is provided by the extended search/replace, except the : ability to do a custom action on files, rather than only a search and : replace. : : TIA, : barneyb : : --- : Barney Boisvert : PIER System, Inc. : barneyb at piersystem.com : (360) 671-8708 : --- : Outgoing mail is certified Virus Free. : Checked by AVG anti-virus system (http://www.grisoft.com). : Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Studio extension
Wow, Barney, you should make friends with perl. A perl script is the perfect place to store search and replace setups. See http://www.perl.org/ for info On 2/17/03 2:09 PM, Barney Boisvert [EMAIL PROTECTED] wrote: Yeah, that's what I'm using, but i'm really looking for a way to store the whole search and replace operation in a single place for easy reuse. It's actually two related SRs that convert some stuff to a different format, and then convert it back (for turning on/off extra debugging information). Right now I have the REs and replacment strings saved in a file and copy and paste them into the CFS extended SR dialog when I want to use them, but that's a pain in the ass, as you might imagine. If I could just save a search and replace setup, that'd work too, but I haven't found any way to do that. Plus, it'd be nice to be able to do non-SR operations (like computing a line count or something) with the same tool, just plug in a different action and keep the recursive parse the same. cheers, barneyb -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED]] Sent: Monday, February 17, 2003 1:41 PM To: CF-Talk Subject: RE: CF Studio extension You can do replaces based on regular expressions, if that helps. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Barney Boisvert [mailto:[EMAIL PROTECTED]] : Sent: Monday, February 17, 2003 3:49 PM : To: CF-Talk : Subject: CF Studio extension : : : Anyone have a CF Studio script that does a recursive parse of a directory : and manipulates the files within. Basically, I'm looking for the same : functionality as is provided by the extended search/replace, except the : ability to do a custom action on files, rather than only a search and : replace. : : TIA, : barneyb : : --- : Barney Boisvert : PIER System, Inc. : barneyb at piersystem.com : (360) 671-8708 : --- : Outgoing mail is certified Virus Free. : Checked by AVG anti-virus system (http://www.grisoft.com). : Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4