1 2 3 4 5 6 7
# Check if input files exist. for f; do if [ -n "$f" ] && ! [ -f "$f" ]; then err "File '$f' not found." exit 1 fi done