On 11/21/2014 05:11 AM, Michael Haubenwallner wrote: > Accepting \? for at-most-once in basic regex is a GNU grep extension, > not accepted by AIX grep for example. > * tests/libtool.at: Need EGREP for ? operator, and ? without \ then. > With EGREP, need one more \ for $.
Or, stick with GREP but use \{0,1\} instead of \?. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature