Re: Just want to exclude lines with tabs

John Cowan <[email protected]> Thu, 19 May 2016 10:56:41 -0400
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
xyz2041 scripsit:

> What am I missing?

That grep and similar Posix utilities do not understand \t.  Instead,
use \011 (the octal code for tab):

$ grep -v '\011' o.csv > o-out.csv

You need to put the \011 in single quotes, otherwise the shell will interpret
the \0 sequence as equivalent to simple 0.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
But no living man am I!  You look upon a woman.  Eowyn I am, Eomund's daughter.
You stand between me and my lord and kin.  Begone, if you be not deathless.
For living or dark undead, I will smite you if you touch him.