Edits the FITS extension of an NDF
This uses the environmental variable, EDITOR, to select the editor. If this variable is undefined vi is assumed.
The script lists the headers to a temporary file; allows text editing; and then replaces the former FITS extension with the modified version, performing some validation at this stage.