0
votes
4answers
2k views

grep and tabs: no match

#cat sample 1 -1 2 2 2 2 2 1-1 3 I need to get all the lines that contains negative value, that is 1st line only. Values are tab-separated. First I tried # grep "\-1" sample 1 -1 2 2 ...
3
votes
2answers
229 views

How to prevent GNU screen from expanding tabs into spaces?

Using a normal bash prompt echo -e 'hello\tworld' produces a real tab. However the same command run within GNU screen puts spaces between the two words. I have tested this on Ubuntu 10.04 with Screen ...