Jeff King <peff@xxxxxxxx> writes: > +cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps version //p'` > +case "$cvsps_version" in > +2.1) > + ;; > +'') > + say 'skipping cvsimport tests, cvsps not found' > + test_done > + exit > + ;; > +*) > + say 'skipping cvsimport tests, cvsps too old' > + test_done > + exit > + ;; > +esac > + I wonder if it is better to grep for ' [-A] ' instead, like: cvsps_supports_A=$(cvsps -h 2>&1 | sed -ne '/\[-A\]/p') case "$cvsps_supports_A" in '') say 'skipping cvsimport tests, lacking cvsps that supports -A option' test_done exit esac - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html