This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Altered behaviour of grep
- From: Fergus Daly <fergusd at frontier-science dot co dot uk>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Cc: Fergus Daly <fergusd at frontier-science dot co dot uk>
- Date: Tue, 24 Mar 2015 08:43:20 +0000
- Subject: RE: Altered behaviour of grep
- Authentication-results: sourceware.org; auth=none
- References: <9D9AC45310887B40A7245734E850FBE1125C0E20 at FS-MX02 dot frontier dot local>
grep -Pl "\xmn"
used to find files containing the ASCII character mn. For instance
grep -PL "\x0d" or "\x0a" or usefully "\x00".
^
I did mean grep -Pl in both cases.
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple