This file is indexed.

/usr/share/doc/cadabra/algorithms/keep_terms.tex is in cadabra 1.39-0.2ubuntu2.

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
\cdbalgorithm{keep\_terms}{}

Keep the~$m$th to the~$n$th terms in a sum, dropping all others.
\begin{screen}{1,2,3}
A + B + C + D + E + F;
@keep_terms!(%){3}{5};
D + E + F;
\end{screen}
Note that counting starts from zero.

\cdbseealgo{keep_weight}
\cdbseealgo{take_match}