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
Replying to @andrewsmhay
@andrewsmhay @bond_alexander Weird, worked for me. Try backwhacking the greater than and less than symbols-- sed 's/\<..\>//g'

Jan 4, 2014 · 3:42 PM UTC

1
@andrewsmhay @bond_alexander What version of sed are you using? Try Perl: perl -pe 's/<..>//g'
2