A couple of suggestions: 1. Try adding --no-check-installed to your reportbug command line; that should suppress the dpkg information. You may need to add --package-version to skip a prompt. 2. I'd probably also add --offline (which implies --no-check-available and --no-query-bts) and --no-verify (for speed).
If you're still getting prompts (I assume that's what the echo is for), try redirecting stdin from /dev/null. On Tue, 01 Feb 2005 09:15:11 +0800, Dan Jacobson <[EMAIL PROTECTED]> wrote: > Package: reportbug > Version: 3.5 > Severity: wishlist > > Please add batch job usage instructions and examples. > > For instance, we want to use reportbug in this script, > > #!/bin/sh -eu > # spellbugs -- report minor ispell/look bugs to Debian > # Copyright : http://www.fsf.org/copyleft/gpl.html > # Author : Dan Jacobson -- http://jidanni.org/ > # Created On : Thu Jan 27 12:49:47 2005 > # Last Modified On: Tue Feb 1 09:15:04 2005 > # Update Count : 18 > > #Regarding what to do each time one finds a word missing from ispell, > #the iamerican maintainer said > #> Please file a *wishlist* bug report against > #> iamerican, that way I or whomever else gets > #> to it next will add your words when we can. > > #Yuck, reportbug was never made for batch mode? > #echo -e 'n\n\n\n'|reportbug -c -m -S wishlist -s "$*" \ > #--body="Perhaps missing from ispell(1) and/or look(1): > #`echo $@|xargs -n 1`" iamerican > #But want to exclude 'Versions of packages iamerican depends on: > #-- System Information:' > > #So for now > mail \ > -a 'X-Debbugs-No-Ack: please' \ > -a Bcc:\ ${USER?} \ > -s "iamerican: ${*?}" [EMAIL PROTECTED] <<EOF > Package: iamerican > Severity: wishlist > These might be missing from ispell(1) and/or look(1): > > `echo $@|xargs -n 1` > EOF > > -- Chris Lawrence - http://blog.lordsutch.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]