On 4/12/07, Charilaos Skiadas <skiadas@hanover.edu> wrote:
Anyway, here's what I said, which is I think why Robin's method won't quite work:
I guess you haven't tried it then, because it actually works fine!
The point is that $(command) strips the newline: for example
foo=$(echo hello)
puts the string "hello" (without a newline) into $foo.
Robin