~alienagain/curious_butterfly

0e9161676e54504083c12e47e95c8b148ef8ff08 — alien 2 years ago 92c7ffd
adding an output result
2 files changed, 22 insertions(+), 3 deletions(-)

M curious.sh
A results_sparkling_goblin
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