/usr/share/doc/slang-tess/examples/sillymath.sl is in slang-tess 0.3.0-6.
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 | define add()
{
variable i, j;
if (_NARGS < 2) usage("add(i,j)");
(i,j) = ();
return i+j;
}
define subtract()
{
variable i, j;
if (_NARGS < 2) usage("subtract(i,j)");
(i,j) = ();
return i - j;
}
|