[ale] Hex character manipulation in perl

Lists lists at serioustechnology.com
Tue Aug 26 12:41:30 EDT 2014


Thought I tried this before, but it appears to work:

s/\xc2./ /

Geoffrey Myers

> On Aug 26, 2014, at 12:30 PM, Lists <lists at serioustechnology.com> wrote:
> 
> So, I need to convert two hex characters to a space. I know what the first character is, don't care what the second one is. Tried this:
> 
> s/\xc2[[:xdigit:]]/ /
> 
> Does not work. Suggestions?
> 
> Geoffrey Myers
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.ale.org/pipermail/ale/attachments/20140826/d24f7012/attachment.html>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140826/141acdca/attachment.html>


More information about the Ale mailing list