teil02 teil11 und teil12
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
#and.sh
|
||||
|
||||
counter='1'
|
||||
test=1
|
||||
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
|
||||
if [ ${counter} -eq 3 ] && [ ${counter} -gt 2 ]; then
|
||||
echo "drei"
|
||||
if [ ${counter} -eq 3 ] && [ ${test} -eq 2 ]; then
|
||||
echo "0-drei"
|
||||
fi
|
||||
|
||||
if [ ${counter} -eq 3 ] && [ ${test} -eq 1 ]; then
|
||||
echo "1-drei"
|
||||
fi
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
||||
|
19
teil11/not.sh
Normal file
19
teil11/not.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#not.sh
|
||||
|
||||
counter='1'
|
||||
test=1
|
||||
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
|
||||
if ! [ ${counter} -eq 3 ] || [ ${test} -eq 2 ]; then
|
||||
echo "0-drei"
|
||||
fi
|
||||
|
||||
if [ ${counter} -eq 3 ] || [ ${test} -eq 1 ]; then
|
||||
echo "1-drei"
|
||||
fi
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
19
teil11/or.sh
Normal file
19
teil11/or.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#or.sh
|
||||
|
||||
counter='1'
|
||||
test=1
|
||||
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
|
||||
if [ ${counter} -eq 3 ] || [ ${test} -eq 2 ]; then
|
||||
echo "0-drei"
|
||||
fi
|
||||
|
||||
if [ ${counter} -eq 3 ] || [ ${test} -eq 1 ]; then
|
||||
echo "1-drei"
|
||||
fi
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
Reference in New Issue
Block a user