I would like to remove all "./", or "../" from a input file path string. I know that "realpath" removes NOT only "./", or "../" BUT also symbolic link.
Is there a library to remove all "./", or "../" from a input file path string and return the path without "./", or "../"? //DAUM