Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: Jahn
1,598
Posted By yinyuemi
How about this? awk...
How about this?
awk '{gsub("--\>","right");gsub("\<--","left");$0=$0}/Arrow/{x=$2}/Choice/{y=$2;{if(x==y){correct++} else {error++;x=0;y=0}}}
END{print "correctChoices = " correct,...
Showing results 1 to 1 of 1

 

Featured Tech Videos

All times are GMT -4. The time now is 10:13 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy