We are working on a legacy system(7 years old), with lots of java/jsp files that have never been formatted before, not reader at all. Because we have many old versions, we are afraid that we won't be able to effectively diff unformatted and formatted files anymore if we format them.
Question is: are there any command line format tools available with which we can format the old version of the file before doing diff on the new?
Thx