Kaydet (Commit) 664b36ff authored tarafından Fred Drake's avatar Fred Drake

*Sigh*

Add a -q option for "quiet" operation.  Nothing gets out (not even stderr,
since that's tossed to stdout for capture in the .how file).  It's a good
idea to use -l to get the log in case there are problems.  Maybe this should
be the default and add a --verbose option to get the stdout?  There's way
too much junk output.
üst dbc879e9
...@@ -99,6 +99,10 @@ while [ "$1" ] ; do ...@@ -99,6 +99,10 @@ while [ "$1" ] ; do
DISCARD_TEMPS='' DISCARD_TEMPS=''
shift 1 shift 1
;; ;;
-q|--quiet|__quie|--qui|--qu|--q)
QUIET=true
shift 1
;;
-*) -*)
usage usage
;; ;;
...@@ -119,6 +123,10 @@ if [ "$DEBUGGING" ] ; then ...@@ -119,6 +123,10 @@ if [ "$DEBUGGING" ] ; then
set -x set -x
fi fi
if [ "$QUIET" ] ; then
exec >/dev/null
fi
for FILE in $@ ; do for FILE in $@ ; do
FILE=${FILE%.tex} FILE=${FILE%.tex}
if [ "$BUILD_DVI" -o "$BUILD_PS" ] ; then if [ "$BUILD_DVI" -o "$BUILD_PS" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment