Skip to content
Snippets Groups Projects
Commit d4486f34 authored by Florin Postolache's avatar Florin Postolache
Browse files

Choose bash as default interpreter


Signed-off-by: default avatarFlorin Postolache <florin.postolache.of@gmail.com>
parent 10dff5dd
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
TASKS=0
mkdir -p out
......@@ -11,12 +13,8 @@ check_one() {
fi
}
#if [[ -z "$1" ]]; then
echo "---------------TASK BONUS---------------"
for i in $(seq 1 20); do
check_one $i
done
printf "\nTASK BONUS SCORE: %.2f / 30.00\n\n" $(echo "scale=2; $TASKS*1.5" | bc)
#else
# check_one $1
#fi
echo "---------------TASK BONUS---------------"
for i in $(seq 1 20); do
check_one $i
done
printf "\nTASK BONUS SCORE: %.2f / 30.00\n\n" $(echo "scale=2; $TASKS*1.5" | bc)
#!/bin/bash
TOTAL_POINTS=0
mkdir -p out
......@@ -11,12 +13,8 @@ check_one() {
fi
}
#if [[ -z "$1" ]]; then
echo "---------------TASK 1---------------"
for i in $(seq 1 15); do
check_one $i
done
printf "\nTASK 1 SCORE: %.2f / 30.00\n\n" $TOTAL_POINTS
#else
#check_one $1
#fi
echo "---------------TASK 1---------------"
for i in $(seq 1 15); do
check_one $i
done
printf "\nTASK 1 SCORE: %.2f / 30.00\n\n" $TOTAL_POINTS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment