def parseline(line):
    """ Extract the spec and command from a line.  If the line is any kind
    of no-op we return None. """
    if not line:
        return
    if line[0] == '#':
        return
    if line[0] == '@':
        return tuple(line.split(' ', 1))
    else:
        parts = line.split(' ', 5)
        return ' '.join(parts[:5]), parts[-1]
