This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]