fmodtab -- modify the values in multiple rows of a table column
Modify the values in rows 5, 7, and 9 of the 'RATE' column in the file 'myfile.fits+2':
fmodtab myfile.fits+2 rate modfile
where modfile looks like
5 46.4 7 54.7 9 INDEF
(note that the value in row 9 is set to null)
Change the value in row 6 element 4 of the 'RATE1' vector column in the first extension of file 'blah.fits' to 77.4
fmodtab blah.fits rate1 modfile2
where modfile2 looks like:
6 4 77.4
Change the value in row 6 of the 'Name' string column in the first extension of file 'text.fits' to "first string"
fmodtab text.fits name modfile2
where modfile2 looks like:
6 first string
or
6 "first string"
ftedit