This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Grep for tab character
- From: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder at niaid dot nih dot gov>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Feb 2005 08:30:37 -0500
- Subject: RE: Grep for tab character
> 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/