utility allows to modify FITS headers' lines interactively
(FITS MultiExtentionsFiles included).
fitshdr_edit is just simple shell script around fitshdr utility. But this is more/less "traditional" interactive editor... with one significant limitation.
fitshdr_edit does not allow change size of existent header. If You are searching for such functionality, check fitshdr_expand man page.
The variable EDITOR is used to specify the default value for the
The TMPDIR variable is also supported.
utility allows to
existent FITS-headers' lines. It means, that You can't remove line from
header! You can change it (substitute it by empty line, for example),
but You can't remove!!!
If You'll try to remove (delete) one line in the header...
utility will accept such modified header... but as result this (removed)
line will be not touched, simply!!!
For example, original header was:
. . .
560:CRDELT2 = 21.0 / this is example 640: 720:HISTORY header No.0: 1st history line 123456789012345678901234567 880:COMMENT Sat Sep 25 21:17:34 CEST 2004 / by fitshdr_edit. . .
but after editing we have, something like:
. . .
560:CRDELT2 = 21.0 / comment was changed 640: 880:COMMENT Sat Sep 25 21:20:43 CEST 2004 / by fitshdr_edit. . .
In this case header's lines with offsets 560 and 880 will be changed, but line with offset 720 - does not! ...as well, as line with offset 640, but only because this line was not changed (empty line before and after editing).
More simple... don't remove FITS-header lines... and don't even touch "END" FITS-header line!
On success, zero is returned and non-zero, if an error occurred.
Email bug reports to
Be sure to include the word ``fitshdr_edit'' somewhere in the