[linux-help] Re: Regular expression with grep
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Bruce:
According to "Mastering Regular Expressions," by Jeffrey E.F. Friedl, \xNN
hex codes are not supported in sed. :-( For that you need awk, Perl, tcl,
Emacs or Python.
-----Original Message-----
Just for my own edification, is there any way to grep for a certain
non-printing ascii character? The Linux programming bible says \xyy
would find ascii yy, for instance \x07 finds the ascii bell. But I
wonder if maybe that only works in perl.
bruce
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
|
|