This file is indexed.

/usr/share/saods9/src/mosaic.tcl is in saods9-data 7.3.2+repack-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
31
32
33
34
#  Copyright (C) 1999-2014
#  Smithsonian Astrophysical Observatory, Cambridge, MA, USA
#  For conditions of distribution and use, see copyright notice in "copyright"

package provide DS9 1.0

proc ProcessMosaicCmd {varname iname sock fn} {
    upvar $varname var
    upvar $iname i

    set vvar $var
    set ii $i

    switch -- [string tolower [lindex $var $i]] {
	iraf {
	    incr ii
	    ProcessMosaicIRAFCmd vvar ii $sock $fn
	}
	wfpc2 {}
	default {ProcessMosaicWCSCmd vvar ii $sock $fn}
    }
}

proc ProcessSendMosaicCmd {proc id param sock fn} {
    switch -- [string tolower [lindex $param 0]] {
	iraf {}
	wfpc2 {}
	wcs {
	    set param [lindex $param 1 end]
	    ProcessSendMosaicWCSCmd $proc $id $param $sock $fn
	}
	default {ProcessSendMosaicWCSCmd $proc $id $param $sock $fn}
    }
}