This file is indexed.

/usr/bin/irafcl is in iraf 2.16.1+2018.03.10-2.

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

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/bin/sh 
#

# Unset variable that are used by IRAF
unset host iraf hbin hlib
unset mach arch IRAFARCH IRAFBIN

irafbin=/usr/lib/iraf/bin/

if [ -x ${irafbin}vocl.e ] ; then
    cl_binary=${irafbin}vocl.e
elif [ -x ${irafbin}ecl.e ] ; then
    cl_binary=${irafbin}ecl.e
else
    cl_binary=${irafbin}cl.e
fi

export iraf="/usr/lib/iraf/"
export host="${iraf}unix/"
export hlib="${host}hlib/"
export hbin="${host}bin"
export F77="$hlib/f77.sh"
export F2C="$hbin/f2c.e"

iraf_version=$(grep version\\s  ${iraf}unix/hlib/zzsetenv.def | \
		   cut -d\" -f2 | cut -d\  -f-3)

while getopts "h?vcexf:" opt; do
    case "$opt" in
    h|\?)
	echo 'IRAF Command Language Interpreter'
	echo ''
	echo 'Usage:'
	echo '    irafcl [-v|-e|-c] [-x] [-f file]'
	echo ''
	echo 'Arguments:'
	echo '    -v        print version and exit'
	echo '    -e        force ecl'
	echo '    -c        force classic cl'
	echo '    -x        start in new xgterm (xterm if xgterm is not installed)'
	echo '    -f file   start with file'
	echo ''
        ;;
    v)
        echo "${iraf_version}"
	exit 0
        ;;
    e)
	cl_binary=${irafbin}ecl.e
	;;
    c)
	cl_binary=${irafbin}cl.e
	;;
    x)
	start_x="yes"
	;;
    f)
	script=$OPTARG
	;;
    esac
done

# Determine the temporary dir, using standard variable from The Open Group
# Base Specifications. Default to FHS.
if [ -z $tmp ]; then
    if [ -n "$TMPDIR" ]; then
        export tmp=$(echo "$TMPDIR" | sed s';/$;;')/
    else
        export tmp="/tmp/"
    fi
fi

# Initialize the IRAF user dirs
for d in imdir cache uparm ; do
    if [ ! -e "${HOME}/.iraf/${d}" ] ; then
	mkdir -p "${HOME}/.iraf/${d}"
    fi
done

# Prepend IRAF bin dir to PATH to allow the use of devel commands
PATH=${irafbin}bin:${PATH}

if [ "${start_x}" = "yes" ] ; then
    if which xgterm > /dev/null ; then
        cl_binary="xgterm -e ${cl_binary}"
    elif which xterm > /dev/null ; then
        cl_binary="xterm -e ${cl_binary}"
    fi
fi

if [ -z "${script}" ] ; then
    exec ${cl_binary}
else
    exec ${cl_binary} -f "${script}"
fi