[Nottingham] how does one grep for tabs?

Peter Chang Peter.Chang at nottingham.ac.uk
Tue Jan 31 20:07:24 GMT 2006


On Tue, 31 Jan 2006, Michael Erskine 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!

Yes you can. Just use ctrl-v and then hit tab on the commandline.

Peter




This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list