Path: csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail From: John Cowan Newsgroups: gnu.utils.bug Subject: Re: Just want to exclude lines with tabs Date: Thu, 19 May 2016 10:56:41 -0400 Lines: 18 Sender: John Cowan Approved: bug-gnu-utils@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1463669818 24224 208.118.235.17 (19 May 2016 14:56:58 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-gnu-utils@gnu.org To: xyz2041 Envelope-to: bug-gnu-utils@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 192.190.237.11 X-BeenThere: bug-gnu-utils@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for the GNU utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.utils.bug:2208 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 cowan@ccil.org 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.