Created
          November 7, 2019 04:25 
        
      - 
      
- 
        Save oakaigh/6d7d7d58568319e39af141ff9895cb2e to your computer and use it in GitHub Desktop. 
    Shell script for fun
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | while true; do | |
| printf "\ry " | |
| i=0 | |
| while (( i++ <= 20 )); do | |
| printf '\b' | |
| sleep 0.1 | |
| printf "et" | |
| done | |
| printf "\r " | |
| done | |
| while true; do | |
| printf "\ry " | |
| for i in {0..5}; do | |
| for j in {0..5}; do | |
| printf '\b' | |
| sleep 0.1 | |
| printf "\e[%dm%s\e[0m" $(( i * 16 + j )) "et" | |
| done | |
| done | |
| printf "\r " | |
| done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment