Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach finalList ($correctList $wrongList)
- printf "%20s%sn" $finalList
- end
- Correct Incorrect
- Good1 Bad1
- Good2 Bad2
- Good3 Bad3
- Good1 Bad1 Good2 Bad2
- # Get the max index of the smallest list
- set maxIndex = $#correctList
- if ( $#wrongList < $#correctList ) then
- set maxIndex = $#wrongList
- endif
- set index = 1
- while ($index <= $maxIndex)
- printf "%-20s %sn" "$correctList[$index]" "$wrongList[$index]"
- @ index++
- end
Add Comment
Please, Sign In to add comment