module Fileutil:File-related utilities.sig
..end
This module provides various helpful utilities for deailing with files.
This function works algorithmically, rather than via changing directories,
and as such does not resolve symlinks or die if bad paths are given.
Author(s): Copyright (C) 2004 John Goerzen
File name utilities
These functions work on file names.
val abspath :
?startdir:string -> string -> string
returns the absolute path of filename.
If startdir is given, it is used instead of the current working directory
to work out relative paths.
abspath filename
File reading
These functions help read data file files.
val getfirstline :
string -> string
val getlines :
string -> string list