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

