Module CUnix
System utilities
type physical_path= stringtype load_path= physical_path list
val physical_path_of_string : string -> physical_pathval string_of_physical_path : physical_path -> stringval escaped_string_of_physical_path : physical_path -> stringEscape what has to be escaped (e.g. surround with quotes if with spaces)
val canonical_path_name : string -> stringval remove_path_dot : string -> stringRemove all initial "./" in a path
val strip_path : string -> stringIf a path
pstarts with the current directory $PWD thenstrip_path preturns the sub-path relative to $PWD. Any leading "./" are also removed from the result.
val path_to_list : string -> string listval make_suffix : string -> string -> stringmake_suffix file sufcatenatefilewithsufwhenfiledoes not already end withsuf.