How to search for all tabs between two quotation marks with grep / egrep
0
votes
1
answer
541
views
I'm looking for all tabs between two quotation marks with grep / egrep in a bash.
I tried
grep -r . -e "\".*\t.*\""
grep -r . -e "\".*\\t.*\""
grep -r . -e "\".*\\\\t.*\""
grep -r . -e '\".*\t.*\"'
grep -r . -e '\".*\\t.*\"'
grep -r . -e '".*\t.*"'
grep -r . -e '".*\\t.*"'
But I don't get the desired result. Following
grep
s yield all line with a \t
:
grep -r . -e "\".*\\\\t.*\""
grep -r . -e '\".*\\t.*\"'
grep -r . -e '".*\\t.*"'
Following grep
s yield all line with a t
:
grep -r . -e "\".*\t.*\""
grep -r . -e "\".*\\t.*\""
grep -r . -e '".*\t.*"'
grep -r . -e '\".*\t.*\"'
But none of these searches for a real tabulator. What I'm doing wrong?
Asked by Thomas Sablik
(132 rep)
Jul 24, 2019, 08:39 AM
Last activity: Jul 24, 2019, 10:16 AM
Last activity: Jul 24, 2019, 10:16 AM