Shellvars_list: Allow end-of-line values, bug #342