if you do something like a=$(mxhosts nosuchhost) echo $(elements $a) or, even simpler: echo $(elements) the sh_elements implementation in libsh/builtins.c gets a segmentation fault. It shouldn't. The result should probably be the same as for a nil (empty) list. \nick