This file is indexed.

/usr/share/lyx/scripts/lyxstangle.R is in lyx-common 2.2.2-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
## file lyxstangle.R
## This file is part of LyX, the document processor.
## Licence details can be found in the file COPYING.

## author Yihui Xie

## Full author contact details are available in file CREDITS

## Rscript $$s/scripts/lyxstangle.R $$i $$e $$r

.cmdargs = commandArgs(TRUE)

options(encoding = .cmdargs[2])

## run Stangle to extract R code
Stangle(.cmdargs[1])