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