One more small bug that I found.
Substitutions with sed as in sed 's/.in//' use regex by default. Therefore a path ~/YinYang/123A/0.in gets substituted to ~/Yang/123A/0.in instead of ~/YinYang/123A/0.
I escaping the point and added a $ at the end to prevent this.
One more small bug that I found. Substitutions with
sed
as insed 's/.in//'
use regex by default. Therefore a path~/YinYang/123A/0.in
gets substituted to~/Yang/123A/0.in
instead of~/YinYang/123A/0
.I escaping the point and added a $ at the end to prevent this.