#!/bin/bash for i in $(seq 1 $#) do [[ ${!i} ]] || exit 1 done