This file is indexed.

/usr/share/doc/littler/tests/timing.sh is in littler 0.1.5-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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash

N=10
function loopBC {
    echo 
    echo -n " --- GNU bc doing the addition $N times"
    i=0
    while [ $i -lt $N ]
    do
	echo "1+2" | bc -l > /dev/null
	i=$((i + 1))
    done
}

function loopLittleR {
    echo
    echo -n " --- our r doing the addition $N times"
    i=0
    while [ $i -lt $N ]
    do
	echo "cat(1+2,'\n')" | ../r --vanilla > /dev/null
	i=$((i + 1))
    done
}

function loopRscript {
    echo
    echo -n " --- GNU R's Rscript doing the addition $N times"
    i=0
    while [ $i -lt $N ]
    do
	echo "cat(1+2,'\n')" | Rscript - > /dev/null
	i=$((i + 1))
    done
}

function loopR {
    echo
    echo -n " --- GNU R doing the addition $N times"
    i=0
    while [ $i -lt $N ]
    do
	echo "cat(1+2,'\n')" | R --slave --vanilla > /dev/null
	i=$((i + 1))
    done
}

time loopBC
time loopLittleR
time loopRscript
time loopR