Grep for tab character

Buchbinder, Barry (NIH/NIAID) BBuchbinder@niaid.nih.gov
Tue Feb 22 20:58:00 GMT 2005


> Because that starts up auto-complete. In other words, I don't know
> how to insert a literal tab into a command line.

<control-V><tab>

> But I do not like that idea for scripts either - it can be difficult
> to visually discriminate a tab from a space character, which can too
> easily lead to errors.

Then try

sed -n '/\t/p' file

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list