/usr/share/doc/libplplot12/examples/lua/plplot_examples.lua is in libplplot-dev 5.10.0+dfsg-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 | -- initialise Lua bindings for PLplot examples.
if string.sub(_VERSION,1,7)=='Lua 5.0' then
lib=loadlib('/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/plplotluac.so','luaopen_plplotluac') or
loadlib('/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/plplotluac.dll','luaopen_plplotluac') or
loadlib('/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/plplotluac.dylib','luaopen_plplotluac')
assert(lib)()
else
package.cpath = '/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/?.so;' ..
'/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/?.dll;' ..
'/usr/lib/x86_64-linux-gnu/lua/5.1/plplot/?.dylib;' ..package.cpath
require('plplotluac')
end
|