blob: a371a618145df34b8af7507bb5f8b232cba26c9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|