Converts a shell file, which just contains comments and "export *" statements into an ini file.
    :param shell_file_contents: the contents of the shell file
    :return: lines of an equivalent ini file

def _shell_to_ini(shell_file_contents: List[str]) -> List[str]:
    """
    Converts a shell file, which just contains comments and "export *" statements into an ini file.
    :param shell_file_contents: the contents of the shell file
    :return: lines of an equivalent ini file
    """
    line_number = 0
    while line_number < len(shell_file_contents):
        line = shell_file_contents[line_number].strip()
        if "=" not in line:
            del shell_file_contents[line_number]
        else:
            if line.strip().startswith(_EXPORT_COMMAND):
                shell_file_contents[line_number] = line.replace(_EXPORT_COMMAND, "").strip()
            line_number += 1
    return shell_file_contents