Learning Perl, Schwartz & Phoenix, O'Reilly
Programming Perl, Wall, Christiansen, & Orwant, O'Relly

Sent from bucky's iPod Touch

On Feb 8, 2013, at 8:31 AM, Zephyr Mays <[email protected]> wrote:

> This solution is perfect; I sincerely appreciate the solution.
> 
> Where do you recommend learn more about using perl to create these type of 
> text transformations?
> 
> Zephyr (aka Thankful Newbie)
> 
> On Friday, February 8, 2013 5:21:21 AM UTC-5, eremita wrote:
>> 
>> On 08/02/2013 02:17, Zephyr Mays wrote: 
>> 
>> > ...I'd like to select/highlight something like: 
>> >  These_Underscores_Need_To_Be_Spaces 
>> > 
>> > Hit a keyboard shortcut to end up with: These Underscores Need To Be 
>> > Spaces 
>> 
>> In almost all such cases a text filter is the solution.  If you save the 
>> script below in your Text Filters folder, you will be able to set a 
>> key-shortcut in the Text Filters palette.  The palettes sub-menu is 
>> under the Window menu. 
>> 
>> #!/usr/bin/perl 
>> while(<>) { 
>>    s~_~ ~g; 
>>    print; 
>> } 
>> 
>> JD
> 
> -- 
> -- 
> 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>
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
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>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to