<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>OT: grep for hex characters</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Can anybody tell me how in general to grep files for hex characters 00 to ff inclusive? I can do the 26 characters 01 to 1a (being ^A to ^Z respectively) and also 20 to 7e (being <space>, punct, 0-9, A-Z, more punct, a-z, more punct) but am stuck for everything else: 00, 1b to 1f and 7f to ff. Dunno, I thought it might be something like</FONT></P>

<P>        <FONT SIZE=2 FACE="Arial">find . | xargs grep -l "\x8f"</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">but it's obviously not that. Thanks. (Maybe I can use sed just to find stuff, not replace it?)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Fergus</FONT>
</P>

</BODY>
</HTML>