GREP: strange behaviour of grep-2.3(Internal)
TeX
Ascii
Deutsch
Español
Korean
Support knowledgebase (sradmanic_grep23)
Applies to
SuSE Linux: Version 6.2
This article refers to an older version of SuSE Linux.
Therefore some of the informations given in this article may
be outdated or the article may contain stale links.
SuSE-INTERN:
Symptom:
- grep displays unexpected behaviour
- If binary-files scanned by grep, the result is given as "found"
- grep doesn´t work with dvi-files
Cause:
The new behaviour of grep is not a bug, but a new feature of version 2.3. grep is now capable of scanning binary-files
without leaving the terminal "messy" (and having to do a reset).
Solution:
The old behaviour of grep can be triggered with the option ´-a´, so ´grep -a´ will function as it used to in
former versions.
There are many packages which use grep and in complicated cases it is advisable to downgrade grep to the older
version 2.2.
Procedure:
Keywords:
Categories:
Applications
SDB-sradmanic_grep23, Copyright SuSE Linux AG, Nürnberg, Germany
Author: radmanic@suse.de
- Version: 13. Aug 1999
SuSE Linux AG - Last generated: 02. Apr 2002 by radmanic (sdb_gen 1.40.0)