|
From: | trids |
Subject: | [bug #33159] Grep doesn't support \t as a tab character |
Date: | Tue, 10 May 2011 16:21:40 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
Follow-up Comment #1, bug #33159 (project grep): I am happy to report that I have a found a version of grep which DOES recognise tabs!!! UnxUtils (http://unxutils.sourceforge.net/) have version 2.5.1 which employs a commandline switch "-P" to honour perl-style regexps. So *ALL* the examples I posted earlier will work with UnxUtils' updated grep as follows: grep -Pine "tbcp" sqlscripts.sql grep -Pine "[t]bcp" sqlscripts.sql grep -Pine "x09bcp" sqlscripts.sql .. which makes the world a better place ;o) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33159> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |