mk_here_list — Read quoted list from here document
mk_here_list [var]
Returns a quoted list by reading each line from stdin
and stripping leading and trailing whitespace.
If var is specified, it is taken as the
name of the variable to set to the result; otherwise,
result is used.
This function allows quoted lists to be constructed from so-called here documents with a single item per line.