[Nottingham] Re: how does one grep for tabs?

James Gibbon jg at jamesgibbon.com
Wed Feb 1 04:33:47 GMT 2006


On Tue, 31 Jan 2006 16:04:57 +0000
Michael Erskine <msemtd at yahoo.co.uk> wrote:

> I'm searching for files that contain tab characters (ASCII 0x09, Ctrl-I -- so 
> that I can eradicate them with expand(1)! ) but I can't use interactive bash 
> to grep(1) for them because it won't let me type a tab!


Well, you can do grep \t myfile.

James


-- 
Dig It : a forum for Euro Beatles fans - http://beatles.dyndns.org/



More information about the Nottingham mailing list