07-26-2025, 02:36 PM
Found another issue.
What do these two sets have in common?
Batman - Earth One
Batman - Earth One v02
Batman - Earth One v03
Aliens vs. Predator - Three World War (scan)
Aliens vs. Predator - Three World War 01
Aliens vs. Predator - Three World War 02
Aliens vs. Predator - Three World War 03
Aliens vs. Predator - Three World War 04
Aliens vs. Predator - Three World War 05
Aliens vs. Predator - Three World War 06
They both cause
to say "Up yours, a-hole," exit the while read loop, and end the script.
The problem is $(( 10#$Last + 1 )), which is trying to add 1 to a non-numeric string. I saw two solutions to this issue: Write a patch with a new array called ReallyProblematicTitles, which simply removes the really problematic titles, then adds them back in after all processing was done, OR don't print them to the list file like that. Guess which I chose. Batman - Earth One is now Batman - Earth One v01 and Aliens vs. Predator - Three World War (scan) is Aliens vs. Predator - Three World War (2011) (scan).
Okay, the third way would be to correct the code but, realistically, who does that?
What do these two sets have in common?
Batman - Earth One
Batman - Earth One v02
Batman - Earth One v03
Aliens vs. Predator - Three World War (scan)
Aliens vs. Predator - Three World War 01
Aliens vs. Predator - Three World War 02
Aliens vs. Predator - Three World War 03
Aliens vs. Predator - Three World War 04
Aliens vs. Predator - Three World War 05
Aliens vs. Predator - Three World War 06
They both cause
Code:
elif (( 10#${IssueList[$i]} == 10#$Last ||
10#${IssueList[$i]} == $(( 10#$Last + 1 )) )); thento say "Up yours, a-hole," exit the while read loop, and end the script.
The problem is $(( 10#$Last + 1 )), which is trying to add 1 to a non-numeric string. I saw two solutions to this issue: Write a patch with a new array called ReallyProblematicTitles, which simply removes the really problematic titles, then adds them back in after all processing was done, OR don't print them to the list file like that. Guess which I chose. Batman - Earth One is now Batman - Earth One v01 and Aliens vs. Predator - Three World War (scan) is Aliens vs. Predator - Three World War (2011) (scan).
Okay, the third way would be to correct the code but, realistically, who does that?
Getting me free admission into gaming conventions for a decade

