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/


Reply via email to