bash:helicopter_animation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash:helicopter_animation [2019/11/29 10:48] – removed peter | bash:helicopter_animation [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BASH - Helicopter Animation ====== | ||
+ | |||
+ | <file bash> | ||
+ | #!/bin/bash | ||
+ | c1() | ||
+ | { | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | sleep 0.1 | ||
+ | } | ||
+ | c2() | ||
+ | { | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | sleep 0.1 | ||
+ | } | ||
+ | echo -e " | ||
+ | while [ 1 = 1 ] | ||
+ | do echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | echo -e " | ||
+ | done | ||
+ | </ |
bash/helicopter_animation.1575024490.txt.gz · Last modified: 2020/07/15 09:30 (external edit)