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