Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)
a = pd(arg);
function a = pd(arg); global PUSHDIR curdir = pwd; if strcmp(curdir(1:8), '/tmp_mnt'); curdir = curdir(9:end); end if strcmp(curdir, PUSHDIR{2}) for i = 1:length(CURDIR) if nargout == 1; a = pwd; end