/usr/share/freemat/toolbox/util/pathsep.m is in freemat-data 4.0-5build1.
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 17 18 19 20 | % PATHSEP PATHSEP Path Directories Separation Character
%
% Usage
%
% The pathsep routine returns the character used to separate multiple directories
% on a path string for the current platform (basically, a semicolon for Windows,
% and a regular colon for all other OSes). The syntax is simple:
%
% x = pathsep
%
% Copyright (c) 2002-2006 Samit Basu
% Licensed under the GPL
function x = pathsep
if (strcmp(computer,'PCWIN'))
x = ';';
else
x = ':';
end
|