func SplitTrimLines(output string) []string {
	// this should work for windows as well as \r will be trimmed
	split := strings.Split(output, "\n")
	lines := make([]string, len(split))
	for i, line := range split {
		lines[i] = strings.TrimSpace(line)
	}
	return lines
}
// SplitTrimLines splits the output into individual lines and trims the spaces from each line.
SplitTrimLines splits the output into individual lines and trims the spaces from each line.
// SplitTrimLines splits the output into individual lines and trims the spaces from each line .
func SplitTrimLines(output string) []string {
	split := strings.Split(output, "\n")
	lines := make([]string, len(split))
	for i, line := range split {
		lines[i] = strings.TrimSpace(line)
	}
	return lines
}
func SplitTrimLines ( output string ) [ ] string { split := strings . Split ( output , " \n " ) lines := make ( [ ] string , len ( split ) ) for i , line := range split { lines [ i ] = strings . TrimSpace ( line ) } return lines }
SplitTrimLines splits the output into individual lines and trims the spaces from each line.
SplitTrimLines splits the output into individual lines and trims the spaces from each line .
// this should work for windows as well as \r will be trimmed