Hello everyone...

I'm running a script which runs some find commands. But before I run
the find command I get into a loop routine which shows the Searching
status! Once the find is done then it kills the PID. But each time
it kills the PID, it always displays:

"Searching ./finduser.sh.v2: line 23: 3514 Terminated
busy"

I'm try to prevent this std error to appear on the screen! ANyone have
any ideas????

here is the code:
=================

busy () {
Indicators=("|" "/" "-" "\\")
n=${#Indicators[@]}
i=0
printf "\nSearching "
while true
do
if [ $i -eq 0 ]
then
echo -e "${Indicators[$i]} \b\b\c"
elif [ $i -eq 3 ]
then
echo -e "${Indicators[$i]} \b\b\c"
elif [ $i -eq 2 ]
then
echo -e "${Indicators[$i]} \b\b\c"
else
echo -e "\b. ${Indicators[$i]} \b\b\c"
fi
i=`expr $i + 1`
i=`expr $i % $n`
/bin/sleep 1
done
}

commandis () {
busy& busypid=$!
/usr/bin/find / -name root -exec /bin/ls -ld {} \; >
/tmp/garbage.out 2>&1
/bin/kill $busypid
}

But each time is kills the PID I kep geting the std error meesage on
the screen which is:
"Searching ./finduser.sh.v2: line 23: 3514 Terminated
busy"

Thanks,
hallian