Subject: Re: missing pkg_add -q
To: Zafer Aydogan <zafer@gmx.org>
From: Petar Bogdanovic <p+netbsd@2005.smokva.net>
List: current-users
Date: 06/24/2005 18:43:57
Zafer Aydogan wrote:
 > I noticed, that there is no "-q" quite option in pkg_add / pkg_delete.
 > Normally, there is no output, but sometimes, there is an additional info
 > text printed like:
 > [text]
 > it would be great to have an option to surpress this output, when 
using in
 > shell scripts, for example.

If you use pkg_add in scripts, you can redirect stdout and stderr to 
/dev/null. The syntax depends on the shell you're using to interprete 
the script.


Petar