I have a script. I would like to give this script a quiet mode and a verbose mode.
This is the equivalent of:
if $verbose then redirect=\"> /dev
Got the idea from another question:
#!/bin/sh if [ $SILENT ]; then exec &>/dev/null fi echo "Silence here."