bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to keep newlines in ``


From: pk
Subject: Re: how to keep newlines in ``
Date: Wed, 26 Aug 2009 20:04:52 +0100

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

[Prev in Thread] Current Thread [Next in Thread]