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
@andrewsmhay @bond_alexander What version of sed are you using? Try Perl: perl -pe 's/<..>//g'
2
@hal_pomeranz now to figure out the ruby equiv so that I can add it to the code :P
1
Replying to @andrewsmhay
@andrewsmhay Not my problem! ;-)

Jan 4, 2014 · 3:55 PM UTC

1
Replying to @hal_pomeranz
@hal_pomeranz on second glance it appears to not have worked….I’ll go with @timelessP’s option