M curious.sh => curious.sh +7 -3
@@ 23,19 23,23 @@ case $? in
esac
# debug
-echo "You are going to check samples in folder $folder2 in order to look for $name"
+#echo "You are going to check samples in folder $folder2 in order to look for $name"
#read -p"Continue? Y/N : " answer
zenity --question \
---text="Are you sure you wish to proceed?"
+--text="You are going to check samples in folder $folder2 in order to look for $name. Is that okay?"
if [ $? ]; then
echo "Starting analysis: "
# debug
# echo $folder2
+touch results_$name
for i in "$folder2"/*; do
- rakudo $name.raku --fi="$i" --fo=.
+ rakudo $name.raku --fi="$i" --fo=. >> results_$name
done
+
+ zenity --info \
+ --text="Info saved in results_$name"
else
echo "okay! bye!"
fi
A results_sparkling_goblin => results_sparkling_goblin +15 -0
@@ 0,0 1,15 @@
+Sparkling Goblin found:
+InterfaceSpeedTester9CalcInterfaceSpeedTester9Calcdzjvg
+in line 3
+in file samples/mysample3
+
+Sparkling Goblin found:
+abcInterfaceSpeedTester9Calcdef
+in line 7
+in file samples/mysample3
+
+Sparkling Goblin found:
+InterfaceSpeedTester9Calc
+in line 9
+in file samples/mysample3
+