Closed pwdraper closed 4 years ago
I can confirm that making this change does not break anything on FC 28 (gawk 4.2.1). To test it, I did:
% convert
% kappa
% cadd $KAPPA_DIR/m31 0 aaa.fit
<edit $CONVERT_DIR/convertawk to remove the backslash>
% stats aaa.fit
<check stats are displayed without error>
% touch bbb.fit <i.e. create an invalid fits file>
% stats bbb.fit
<check error is reported including "!! ** Error converting from FITS to NDF using FITS2NDF">
Reported by a user:
Seems that gawk has been updated to version 5 with a lot of changes, which includes issuing this warning. The problem is the line:
which I think should b:
no need to protect the
!
as it is not special in awk. Works on my local machines, but others should check this before committing.