[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #108092] AC_PROG_GREP can select /usr/xpg4/bin/grep under Solaris 9
From: |
Zack Weinberg |
Subject: |
[sr #108092] AC_PROG_GREP can select /usr/xpg4/bin/grep under Solaris 9 but it doesn't support long lines |
Date: |
Fri, 10 Jul 2020 11:51:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of sr #108092 (project autoconf):
Priority: 5 - Normal => 1 - Later
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
We apologize for not getting back to you about this sooner.
AC_PROG_GREP does check for a grep that supports long lines (up to 10240 bytes
long) but if it can't find one, it takes whatever grep it *can* find that
supports -e. So indeed it is not guaranteed to pick a grep that supports long
lines.
It's *supposed* to pick whichever of 'grep' or 'ggrep' supports longer lines,
but that logic might be buggy.
Since this is a long-standing issue and an ideal fix might be hairy, I am
deferring it to after the upcoming 2.70 release, but we will definitely think
about how we can do better - perhaps with improvements to AC_PROG_GREP itself,
as well as with better documentation.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?108092>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [sr #108092] AC_PROG_GREP can select /usr/xpg4/bin/grep under Solaris 9 but it doesn't support long lines,
Zack Weinberg <=