Hey Folks,
Jeeze. It's been a long time since I seriously scripted BBEdit. In
this case I want to prefix every line in the front document.
This works fine:
tell application BBEdit
tell front text document
set before first word of line 3 to •
end tell
end tell
Chris~
Why not use a simple grep to do it for you? This works for me:
- - - - - - - - - - - - - - - - - - - -
Find:
(^.+)
Replace:
•\1
- - - - - - - - - - - - - - - - - - - -
Cheers,
~Semper Fi, Mac!
= = = = = = = = = = = = = = = = = = = =
On Oct 29, 2009, at 11:44 PM,
Or why not use the Text - Prefix/Suffix Lines menu item?
2009/10/30, Semper Fidelis semper.fide...@mac.com:
Chris~
Why not use a simple grep to do it for you? This works for me:
- - - - - - - - - - - - - - - - - - - -
Find:
(^.+)
Replace:
•\1
- - - - - - - - - - - - - - - - - -
Agreed -- that's an even simpler solution I overlooked.
~Semper Fi, Mac!
= = = = = = = = = = = = = = = = = = = =
On Oct 30, 2009, at 8:22 AM, Jan Pieter Kunst wrote:
Or why not use the Text - Prefix/Suffix Lines menu item?
snip../snip
Hey Guys,
On Oct 30, 2009, at 10:12, Semper Fidelis wrote:
Why not use a simple grep to do it for you? This works for me:
I did mention that possibility, and this can be easily scripted as well.
On Oct 30, 2009, at 01:44, Christopher Stone wrote:
And you can loop through or do a find/replace
Get the Camel Book from O'Reilly (the publisher). I've forgotten the
actual (real) title of the Camel Book, but if you go to the O'Reilly
web site and search for Perl, you'll come up with several good
choices.
--Sent from the iPhone of Semper Fidelis
On Oct 30, 2009, at 13:42, Christopher
On Fri, Oct 30, 2009 at 02:39:08PM -0700, Semper Fidelis wrote:
Get the Camel Book from O'Reilly (the publisher). I've forgotten the
actual (real) title of the Camel Book, but if you go to the O'Reilly
web site and search for Perl, you'll come up with several good
choices.
The actual
At 17:41 -0400 10/30/09, Ronald J Kimball wrote:
The actual title of the Camel Book is Programming Perl.
At 15:42 -0500 10/30/09, Christopher Stone wrote:
On the Perl topic does anyone have recommendations for online resources and
books for a rank beginner?
There is also a smaller O'Reilly