From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- noao/digiphot/ptools/doc/tbcrename.hlp | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 noao/digiphot/ptools/doc/tbcrename.hlp (limited to 'noao/digiphot/ptools/doc/tbcrename.hlp') diff --git a/noao/digiphot/ptools/doc/tbcrename.hlp b/noao/digiphot/ptools/doc/tbcrename.hlp new file mode 100644 index 00000000..47d4fd3f --- /dev/null +++ b/noao/digiphot/ptools/doc/tbcrename.hlp @@ -0,0 +1,50 @@ +.help tbcrename Aug91 noao.digiphot.ptools +.ih +NAME +tbcrename -- rename selected columns in a list of table + +.ih +USAGE +tbcrename tables columns names + +.ih +PARAMETERS + +.ls table +The list of input tables files. +.le +.ls columns +The list of columns separated by commas whose names are to be changed. +.le +.ls names +The list of new column names separated by commas. +.le + +.ih +DESCRIPTION + +TBCRENAME takes a list of ST tables \fItables\fR and changes the names +of selected columns \fIcolumns\fR to the names specified in \fInames\fR. +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. + +.ih +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 +meta-character '['. + +.nf + pt> tbcrename @tablelist "MAG,MERR" "MAG\[1],MERR\[1]" +.fi + +.ih +TIME REQUIREMENTS +.ih +BUGS +Since the contents of the ST table are altered the user must have +write permission on the table in order to run TBCRENAME. +.ih +SEE ALSO +.endhelp -- cgit