Affects

Simple Affects in Terminal

#!/bin/bash

arr=('-' '\' '|' '/')
while true; do
    for c in "${arr[@]}"; do
        printf "\r %c " $c
        sleep .5
    done
done

Leave a Reply

Your email address will not be published. Required fields are marked *