From 664b36ff59587f010e04ee4508824f519cd0ce5e Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 11 Mar 1998 15:41:21 +0000 Subject: *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. --- Doc/tools/mkhowto.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh index 6d8da8f..0541c85 100755 --- a/Doc/tools/mkhowto.sh +++ b/Doc/tools/mkhowto.sh @@ -99,6 +99,10 @@ while [ "$1" ] ; do DISCARD_TEMPS='' shift 1 ;; + -q|--quiet|__quie|--qui|--qu|--q) + QUIET=true + shift 1 + ;; -*) usage ;; @@ -119,6 +123,10 @@ if [ "$DEBUGGING" ] ; then set -x fi +if [ "$QUIET" ] ; then + exec >/dev/null +fi + for FILE in $@ ; do FILE=${FILE%.tex} if [ "$BUILD_DVI" -o "$BUILD_PS" ] ; then -- cgit v0.12