[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
highlighting problems for M-x grep
From: |
Dan Nicolaescu |
Subject: |
highlighting problems for M-x grep |
Date: |
Fri, 4 Feb 2005 11:08:44 -0800 |
On a Fedora Core 3 system M-x grep does not eliminate all the terminfo
strings in the *grep* buffer.
Here is the contents of the *grep* buffer:
-*- mode: grep; default-directory: "~/" -*-
grep -nH -e test /tmp/test.txt
/tmp/test.txt:1:test[K
Indeed if I do:
echo test > /tmp/test.txt
grep -n --color=always test /tmp/test.txt > /tmp/grep.out
C-x i /tmp/grep.out RET
1:[01;31mtest[00m[K
grep --version
grep (GNU grep) 2.5.1
It's interesting that when doing the same thing on a sparc-solaris
system, using the same version of grep, I get different results:
1:[01;31mtest[00m
no "[K" there...
- highlighting problems for M-x grep,
Dan Nicolaescu <=