> Seems like lots of files I get off the net use \x80\x98 or the > like to denote various non-ascii characters. Is there a way to > use perl (or any other unix tool) to replace > \x<whatever>\x<whatever> with, say whatever ASCII or ISO-8859-1 > character or characters?
perl -pe 's/\\x(\w\w)/chr(hex("$1"))/eg' R's, John _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"