def special_path_string(path_string):
    """ Replace the path string . -> /
    rather than the following cases
    .
    ..
    path/./../
    """
    if path_string.startswith('.'):
        return path_string
    if path_string.find('/.') != -1:
        return path_string
    return path_string.replace('.', '/')
