Sam Steingold wrote:

> this:
> foo=`ls`
> echo $foo
> will print files in one line even though ls prints them with newlines.
> is there a way to preserve newlines in the above echo?
> thanks.

echo "$foo"

Reply via email to