def find_multilines(config_text):
    """
    Parses condor config file looking for multiline entries
    Args:
        config_text: string, contents of a condor configuration file
    Returns:
        multi: dictionary. keys are first line of multi line config
                         values are the rest of the multi line config
                         keeping original formatting

        see parse_configs_for_multis() below for example muli dict
    """
    multi = {}
    tag = None
    dict_key = None
    for line in config_text:
        parts = line.split()
        if tag is None:
            for idx in range(len(parts)):
                if parts[idx].startswith("@="):
                    tag = parts[idx].replace("=", "").strip()
                    dict_key = parts[idx - 1].strip()
                    multi[dict_key] = "".join(parts[idx:]) + "\n"
        else:
            if "#" not in line:
                multi[dict_key] += line
            for idx in range(len(parts)):
                if tag in parts[idx]:
                    tag = None
    return multi