expanduser home directory tilde Fortran

Like Python, Fortran does not understand tilde ~ in commands like open(). Just like in Python and some Matlab functions, an expanduser() procedure is needed. We provide this functionality in fortran-filesystem expanduser().

The shell typically expands ~ itself. It becomes an issue when reading an absolute path involving ~ from say a config file using Fortran and then trying to open that filename read from the config file.