[sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #9, sr #110657 (project autoconf):

[comment #8 comment #8:]
> there is another way than -e to escape that dash: simply put a pair of
parenthesis around the search string:
> 
> egrep '(-z)' </etc/profile

That won't work if the pattern contains back-references, since it'll mess up
the numbering. However, we can prepend '.?' to the pattern; this should work.
How about the attached patch instead?

(file #53284)

    _______________________________________________________

Additional Item Attachment:

File name: 0001-Fix-bug-AC_EGREP_CPP-with-leading-in-pattern.patch Size:3 KB
   
<https://file.savannah.gnu.org/file/0001-Fix-bug-AC_EGREP_CPP-with-leading-in-pattern.patch?file_id=53284>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110657>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.