This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Hopeful patch for configure breakage
- To: zackw at stanford dot edu
- Subject: Re: Hopeful patch for configure breakage
- From: John Wehle <john at feith dot com>
- Date: Thu, 15 Mar 2001 19:31:42 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
Using (ef)grep on binary data is asking for trouble.
>From the Solaris man page for egrep:
NOTES
/usr/xpg4/bin/egrep
The /usr/xpg4/bin/egrep utility is identical to
/usr/xpg4/bin/grep -E (see grep(1)). Portable applications
should use /usr/xpg4/bin/grep -E.
>From the Solaris man page for grep:
NOTES
/usr/xpg4/bin/grep
The results are unspecified if input files contain lines
longer than LINE_MAX bytes or contain binary data. LINE_MAX
is defined in /usr/include/limits.h.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------