bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Just want to exclude lines with tabs


From: xyz2041
Subject: Just want to exclude lines with tabs
Date: Wed, 18 May 2016 22:17:45 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]