aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/doc/tbtcpy.lis
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/tbtables/doc/tbtcpy.lis
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/tbtables/doc/tbtcpy.lis')
-rw-r--r--pkg/tbtables/doc/tbtcpy.lis30
1 files changed, 30 insertions, 0 deletions
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