Hi Ken,
I think you must realise that ascii encoding is beyond the scope of grep. 
Especially for codes
above 128 there are a lot of encodings that grep knows nothing about (and 
shouldn't).

But I think there is a workaround by creating pattern and replacement arrays to 
get what you
want. You can use Perl to create these arrays, But maybe it is easier to write 
the whole
replacement in Perl and call that script from BBEdit.

Hope this helps you,
Jan Leppink.

> I'm trying to figure out a way of converting a list of decimal 
> representations of ascii
characters, to their 
> ascii character so I do not need to do it manually.
> 
> (\d+) finds the decimal numbers and \1 in the replace field will put them 
> back in, but how do
I get them 
> put back in as ascii characters?
> 
> I'd like this:
> 
> 35
> 123
> 86
> 58
> 
> to end up something like this:
> 
> 35 #
> 123 {
> 86 V
> 58 :
> 
> or even better have the multiple lines end up like this on one line but I 
> think I can eventually
figure that 
> out if I really want.
> 
> #{V:
> 
> Thx for any tips.
> 
> Ken G. Brown
> 

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

Reply via email to