Anyone know how to remove hex chars from a string using sed? e.g. Brazil,SA,27,S<e3>o Paulo
4
1
@hal_pomeranz @bond_alexander @clkf sed: RE error: illegal byte sequence
1
@andrewsmhay @bond_alexander Weird, worked for me. Try backwhacking the greater than and less than symbols-- sed 's/\<..\>//g'
1
Replying to @andrewsmhay
@andrewsmhay @bond_alexander What version of sed are you using? Try Perl: perl -pe 's/<..>//g'

Jan 4, 2014 · 3:50 PM UTC

2
Replying to @hal_pomeranz
@hal_pomeranz now to figure out the ruby equiv so that I can add it to the code :P
1