#!/bin/sh
if test -n "$5"; then
  ldir -WRITE -del $1 $2 $3 $4 $5
elif test -n "$4"; then
  ldir -WRITE -del $1 $2 $3 $4 
elif test -n "$3"; then
  ldir -WRITE -del $1 $2 $3
elif test -n "$2"; then
  ldir -WRITE -del $1 $2
elif test -n "$1"; then
  ldir -WRITE -del $1
else
  echo Parameter error
  ldir -h
fi;