Split string into lines
Splits on or . Strips trailing newline. Accepts ShellResult.
String | ShellResult
str_split, str_words