Does libtool need to escape plus signs in egrep expressions?
LRN <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
While looking though ltmain source code i've stumbled upon this egrep invocation: $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$' I've tried to see how it behaves on some import libraries that i have, and it turned out that i could never get it to detect the iname lines, unless i escape the plus sign. Are you sure this actually works? Note that the function that does this is only used in rather exotic corner-cases (old dlltool and/or ms dumpbin being in use), so it's plausible that it could have been broken since 2010, when it was added. _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4MWzR43wYaAzEA49ja3pJ2dZunQFAls0azoACgkQja3pJ2dZ unROwA//UF2kjvi4iFBqK/UTEq1cuLr7uo9KKBxDHDPB4whTaodf9Xcvgb9xwwI3 CIrTzIUUGj9DnHndNit1VXECQ5LPSuNnm95EfKUDTLMzaKXH4E0DRtMIaj3A3M/S gjqcpYqEEtr/3MpU30fhcSIZP+eszvDrkuVehKVRGFoXXL3hpb1yykjZTAK3FqOH qKlXQl8+7JZy8wpM7j8FIZpsDqnRFxhRraRfpNEARpNglJvAcujzxQoHB5zIE/HE DfUTR0wweUOrHaS6GqzhiTBTrzWV5t8UL95kHrfCRvy/b7brRvnlGrgDPwt014ex 5VFGjKuBwpLiDe1+3IscV6nJpm+Yo61BMtqydOaERBnZs/pAcdCQYThoipKWXn7s Db4D68WF3kr4FaXD6LvDEHkqtOCM2Jq+DK+cJVNX0TG/IGyqlGqhdd5WJeiDiISf H649ZY841Zi31a0XfbnZPOhqMC2KYQ9liEiBhkf3pGRAd4KsYKLYAfU2ezTPh4lL Rs8GY53+JDRlnCzpeSLaCWOH5EIPGgZ3Q23aaBKRDIkW/ukD9nuCWiro+dv9+EH0 aTTJl4C0pcMKcnZa7DMusosYAcfTB8nG5tw/Rbd4xxhiMycxERINpRlKxnefXZLx gvxM+jzz028m7dLabKWe8AOZp46PHwo21034BVckdELuPPhUmhY= =49ts -----END PGP SIGNATURE-----