Do a `strings.TrimSpace` first and skip empty lines.