Fortran does not understand tilde
~ in commands like
Just like in Python and some Matlab functions, an
expanduser() procedure is needed.
We provide this functionality in
which is tested on Mac/Linux/Windows.
You may not have realized this is an issue because the shell typically expands
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.