This OTW script reads header card values from a local file and writes a new FITS image with these new or revised cards installed.
% headrev.sh a.fits wcs_header.cards new.fits arg1 = name of input fits image being modified arg2 = name of header card file (wcs_header.cards) arg3 = name of revised fits imageWARNING: This routine fails with more than 200 cards.