IRAF help page for package noao.digiphot.ptools, program tbcrename

from NOAO tbcrename -- rename selected columns in a list of tableUSAGEPARAMETERSDESCRIPTIONEXAMPLESTIME REQUIREMENTSBUGSSEE ALSO

tbcrename -- rename selected columns in a list of table


USAGE

tbcrename tables columns names


PARAMETERS

table

The list of input tables files.

columns

The list of columns separated by commas whose names are to be changed.

names

The list of new column names separated by commas.


DESCRIPTION

TBCRENAME takes a list of ST tables tables and changes the names of selected columns columns to the names specified in names. If the input file is not an ST table or the column does not exist no action is taken. Otherwise the specified column is renamed.


EXAMPLES

1. For the list of ST tables in tablelist, rename the columns "MAG,MERR" to "MAG[1],MERR[1]". Note the use of 'to escape the pattern matching metacharacter '['.

   pt> tbcrename @tablelist "MAG,MERR" "MAG],MERR]"


TIME REQUIREMENTS


BUGS

Since the contents of the ST table are altered the user must have write permission on the table in order to run TBCRENAME.


SEE ALSO


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu