All,
Thanks for replying - I've been sitting here too long.
I was getting newlines because I assigned a variable to the output of a command that, yes, returns a newline after its data.
Deduct points for me.
All I needed was chomp.
Sorry - please move on.
rspence