Re: How todo greep on many file in Run Script phase ?
Re: How todo greep on many file in Run Script phase ?
- Subject: Re: How todo greep on many file in Run Script phase ?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 7 Jul 2006 18:41:30 -0700
On Jul 7, 2006, at 4:29 PM, Ruslan Zasukhin wrote: Hi guys!
I was not able find way to do such simple task as can do CW, Bbedit or xcode in the dialogs find/replace.
I need automate in Run Script operation to find in files of some folder some simple regex _expression_, and replace it on empty line.
The OS X command line utility greep allow only do search, but now way todo REPLACE as far as I see.
Anybody know how to solve this task ?
If you want to find and replace a regular _expression_ across multiple files in a project, use the Project Find menu item.
The script can be written in shell language, Perl, or even use AppleScript to automate Xcode. All of these script languages can do search and replace on individual files in the project.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden