This file is indexed.

/usr/bin/apertium-gen-lextormono is in apertium 3.1.0-1.3.

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
#!/bin/bash
APERTIUM_PATH="/usr/bin"
LTTOOLBOX_PATH="/usr/bin"
XSLTPROC_OPTIONS_LR=""
XSLTPROC_OPTIONS_RL="--stringparam r2l yes"
STYLESHEET="/usr/share/apertium/lexchoice.xsl"
#! /bin/sh
if [ $# != 3 ]
then echo "USAGE: $(basename $0) lr|rl <input_file> <output_file>";
     exit 1;
fi

FILE1=$2;
FILE2=$3;

if [ ! -e $2 ] 
then echo "ERROR: '$1' file not found";
     exit 1;
fi

if [ $1 = "lr" ]
then xsltproc $XSLTPROC_OPTIONS_LR $STYLESHEET $FILE1 >$FILE2
elif [ $1 = "rl" ]
then xsltproc $XSLTPROC_OPTIONS_RL $STYLESHEET $FILE1 >$FILE2
else 
  echo "ERROR: $1 option invalid";
fi