1 2 3 4 5 6 7
#!/bin/sh thisdir=`dirname "$0"` bugids=`$thisdir/bugids "$@"` if test "$?" != "0"; then echo "$bugids" 1>&2; exit 1; fi echo "$bugids" | wc -w