<<< Date Index >>>     <<< Thread Index >>>

Re: Message-hook problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, August 20 at 05:25 PM, quoth Breen Mullins:
>> The best way to fix this is with sed, rather than tr:
>>
>>     sed "s/\o302\o271/'/g"
>>
>> (That's for GNU sed; other sed's use different syntax for 
>> specifying bytes.)
>
> Yeah. OS X here doesn't have gsed. Time to hit the books.

Heh, OSX's sed can handle the character directly. For example:

     /usr/bin/sed "s/¹/'/g"

~Kyle
- -- 
He who dares not offend cannot be honest.
                                                        -- Thomas Paine
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFGykwWBkIOoMqOI14RAqMmAJ90q1aPrWprJQVi5fIiEqaOSzvthQCdEt0r
smBUt4WprROST1ISoA9VSf0=
=3s32
-----END PGP SIGNATURE-----