pjs/webtools/bugzilla/contrib/cmdline/bugcount

8 строки
146 B
Bash
Executable File

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