|
Glenn,
If I need to through out an error , how should I set it Iam doing like this but it's not throughing error.
#!/bin/ksh
dir=/biddf/ab6498/dev/ctl
export dir
# set -x
myfilepattern=$@
integer filecount=0
for file in $myfilepattern; do
filecount=$filecount+1
done
if (( $filecount == 10 )); then
exit 0
else
exit 1 echo failure
fi
|