My lines will look as such
X 2.63766751981802 Y 1.68326762144808 Z 0 XX 2.63577810877244 YY 1.67475013544567 ZZ 0
awk, how do I print
(X-XX) + (Y-YY) on the end of every line?
Just to complicate things I need the
() numbers to always be converted to plain numbers ie strip the negatives.
Looking to "mark" lines that the ending sum is greater than say 1.