/usr/lib/scilab-plotlib/macros/parseOnOff.sci is in scilab-plotlib 0.42-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 | function out=parseOnOff(typeOfPlot,value,pptystring,ppty)
select type(value)
case 10 // a string
if and(value~=["on","off"])
_error(sprintf('%s : % value must be ""on"" or ""off""',typeOfPlot,ppty));
end
else
_error(sprintf('%s : missing %s spec',typeOfPlot,ppty));
end
out=list(ppty,value);
endfunction
|