Cursor / Pointer Dancing Move Fun Script

A fun script when executed creates a dancing movement effect of the cursor in the command promt.

Features

  • Fun script written using shell.
  • Gives a dancing move effect on the pointer.
  • Simply execute the file to have the cursor effect.

Downloads

#------------------
Script by hscripts.com
------------------# #-----------------
Copywrite of HIOXINDIA
------------------# #--------------
More scripts @www.hscripts.com
---------------#
#!/bin/sh
var1=$1
count=20000
#stime=`date +%s` jj=0 strpos=0 strpos2=0 totc=`echo $var1|wc -c` echo -e '
\c' for (( i = 0 ; i <= $count; i++ )) docc=`echo $i%4 | bc`if [ $cc == 0 ]
then echo -e '\b|\c'
elif [ $cc == 1 ]
then echo -e '\b/\c'
elif [ $cc == 2 ]
then echo -e '\b-\c'
else [ $cc == 3 ]
echo -e '\b\\\c'
fi

jj=`expr $jj + 1`

#etime=`date +%s`#diff=`echo $etime-$stime|bc`
#diff=`expr $diff + 1`
#echo $diff

if (( $jj == 50 ))
then
if (( $totc >= $strpos ))
then
echo -e '\b\c'
echo -e ${var1:$strpos:1}+'\c'
strpos=`expr $strpos + 1`
strpos2=$strpos
elif (( $strpos2 > 0 ))
then
echo -e '\b \c'
strpos2=`expr $strpos2 - 1`
echo -e '\b\c'i
elif (( $strpos2 == 0 ))
then
strpos=0
fi

jj=0
fi
done #------------ Script by hscripts.com -------------------------#

  • Release Date - 06-04-2010
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to support@hscripts.com

Usage

  • Copy the above code and save it with .sh extension
  • Execute the sh file in command line.
  • Have fun executing the shell script as sh filename.sh.
  • Find the cursor pointer moving with dancing effect on the screen.

License

Other Scripts


Ask Questions

Ask Question