Darren Hoo <darren.hoo at gmail.com> writes: > if [ ${1} = del ] ; then > ${ARP} -d $3 > fi > > if [ ${1} = old ] || [ ${1} = add ] ; then > ${ARP} -s $3 $2 > fi Why not case ${1} in del) ${ARP} -d $3;; old|add) ${ARP} -s $3 $2;; esac instead? -- Cheers, Feri.