-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoop-Example.sh
More file actions
77 lines (69 loc) · 1.8 KB
/
Loop-Example.sh
File metadata and controls
77 lines (69 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
# Now using one of my favorite simple loops a 'while true'; do loop and 5 echo commands i make my best anon face lol.
while true; do
# This command called clear will clear the screen every iteration of the loop.
clear
# These are the 5 echo commands talked about in the first comment.
echo ' ``_ _`` '
echo ' <0><0> '
echo ' '
echo ' __/\__ '
echo ' | '
# The cat command followed by two less than symbols is used to print everything inbetween the two EOF words standing for 'end of file'.
cat << EOF
d<---rain drops
d d
o d
d -X- d
......t......................,
EOF
# Echo command used again.
echo ' OMOUS '
sleep .3 # The sleep command pauses for however long you want i used .3 of a second here for example.
clear # The clear command again.
echo '``_ _`` '
echo ' <-><-> '
echo ' '
echo ' __/\__ '
echo ' | '
cat << EOF
<---rain drops
d d d
d o d
-X- d dd
..d...t....................,.
EOF
echo ' ANON'
sleep .3
clear
echo '``_ _`` '
echo ' '
echo ' '
echo ' __/\__ '
echo ' | '
cat << EOF
d<---rain drops
d d d
d o d d
d -X- d d
..d....t....d..............,..
EOF
echo ' ANON'
sleep .3
clear
echo ' ``_ _`` '
echo ' <0><0> '
echo ' '
echo ' __/\__ '
echo ' | '
cat << EOF
d<---rain drops
d d
o d
d -X- d
......t..................,...
EOF
echo ' OMOUS '
sleep .3
# Do Not Forget To Add DONE at the end of your loop or prepare for head scratching and confusion.
done