#!/bin/ksh if [ ${#} -eq 4 -o ${#} -eq 5 ]; then echo "4 or 5 parameters." else echo "NOT 4 or 5 parameters." fi