From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- pkg/tbtables/doc/tbtcpy.lis | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkg/tbtables/doc/tbtcpy.lis (limited to 'pkg/tbtables/doc/tbtcpy.lis') diff --git a/pkg/tbtables/doc/tbtcpy.lis b/pkg/tbtables/doc/tbtcpy.lis new file mode 100644 index 00000000..a371a618 --- /dev/null +++ b/pkg/tbtables/doc/tbtcpy.lis @@ -0,0 +1,30 @@ +Here is the algorithm for determining the type of output table that +will be created when calling tbtcpy: + + if output == STDOUT then + + type = text + + else if extension of output file is .fits (or .fit or .??f) then + + type = fits + + else if extension of output file is .qp + + type = row # but in a qpoe file + + else if input is text file or STDIN then + + # text --> text, except for extensions .tab, .fits, .qp + + if extension of output file is .tab + type = row + else # .fits & .qp taken care of above + type = text + end if + + else + + type = row + + end if -- cgit