based on the below question (ignoring the "rather than writing an
external program" part) and on my own wishes on numerous occasions, is
this possible in bbedit somehow, and if not, why not?:
when doing regex find and replaces for example, in the places in the
replace box where you can refer to found sections of text using \1 and
\2 etc, is it possible to carry out what this indicates:
\1 | /Users/Desktop/mycommandlineutility
and have external processes take text input (which would be the piece
of text found by the bracketed find regex), processes it in whatever
way it's programmed and insert its input into the text just as \1 does
in the usual way but the processed by external app/utility version of \1
be very handy. if it's not possible i'm amazed as i would have thought
this would be very useful and not hard to add in
thanks, ben.
On Friday, June 2, 2006, at 07:03 pm, Kenneth Prager wrote:
I am receiving some status reports with numbers that are in hex
format. I was planning to use BBEdit to reformat the report to
make it more readable and would like to convert the hex numbers to
decimal using BBEdit, rather than writing an external program.
I know how to find the hex numbers, using grep, but at am at a loss
regarding the best way to convert them. I figure that one way is
to send the numbers to an external script but am not sure how to
set this up. Is this the best way to proceed or can the conversion
be done within BBEdit? (I read through the manual but didn't see
anything in the text conversion section that looked like it would
work.) Any suggestions would be appreciated.
TIA,
Ken Prager
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>