|
From: | Paul Eggert |
Subject: | [sr #110657] Autoconf configure script considers absence of usable grep a fatal error, although it only uses egrep thereafter |
Date: | Wed, 8 Jun 2022 13:45:08 -0400 (EDT) |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |