4
if [ -n "$string" ]; then
5
echo "The string is \"$string\"!"
7
echo "The string is empty!"
13
echo "The string \"$i\" is in the array!"
16
while [ $count -le 10 ]
18
echo "We've counted up to $count."
19
count=$[$count+1] #increment counter by one.
22
echo "Passed everything!"
23
#read -p "press any key to continue"
5
if [ -n "$string" ]; then
6
echo "The string is \"$string\"!"
8
echo "The string is empty!"
12
array="Text1 Text2 Text3 Text4"
15
echo "The string \"$i\" is in the array!"
19
while [ $count -le 10 ]
21
echo "We've counted up to $count."
22
count=$[$count+1] #increment counter by one.
25
echo "Passed everything!"
26
#read -p "press any key to continue"