#!/bin/bash

# Just having fun with unicode characters
#symbols=("\U25DC" "\U25DD" "\U25DE" "\U25DF") # Circle outlines
symbols=("\U25CB" "\U25D4" "\U25D1" "\U25D5" "\U25CF") # Pie chart

trap ctrl_c INT
function ctrl_c {
 tput cub1
 tput cnorm
 echo
 exit
}

tput civis

index=0
while true; do

echo -en ${symbols[$index]}
let index=$index+1
[ $index -eq ${#symbols[@]} ] && index=0
sleep .25
tput cub1

done