I am writing a installation script and would like to display the status of the script as it progresses.
example:
var1=\"pending\" var2=\"pending\" va
Look at this:
while true; do echo -ne "`date`\r"; done
and this:
declare arr=( ">...." ".>..." "..>.." "...>." "....>" ) for i in ${arr[@]} do echo -ne "${i}\r" sleep 0.1 done