Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.utils.bug > #2206

Just want to exclude lines with tabs

From xyz2041 <xyz2041@gmail.com>
Newsgroups gnu.utils.bug
Subject Just want to exclude lines with tabs
Date 2016-05-18 22:17 -0500
Message-ID <mailman.144.1463639705.6543.bug-gnu-utils@gnu.org> (permalink)

Show all headers | View raw


Hi,

I just want to exclude lines that have tabs on them.

I've tried all of these, but none work.

What am I missing?


grep "$(echo -e \\t)" o.csv
grep "$(printf '\t')" o.csv
grep "\t" o.csv > o-out.csv
grep $',' o.csv > o-out.csv
grep $'\t' o.csv > o-out.csv
grep -P "\t" o.csv > o-out.csv
grep -r ',' o.csv
grep -v "[[:tab:]]" o.csv > o-out.csv
grep -v "\t" o.csv > o-out.csv
grep -v "\t" o.csv > o-out.csv
grep -v $"\t" o.csv > o-out.csv
grep -v $'\t' o.csv > o-out.csv
grep -v '[ \t]' o.csv > o-out.csv
grep -v \t o.csv > o-out.csv
grep -v '\t' o.csv > o-out.csv
grep -v -e "\t" o.csv > o-out.csv
grep -v- -e "\t" o.csv > o-out.csv
grep -v -e '\t' o.csv > o-out.csv
grep -w ',' o.csv > o-out.csv

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

Just want to exclude lines with tabs xyz2041 <xyz2041@gmail.com> - 2016-05-18 22:17 -0500

csiph-web