bug-bash
[Top][All Lists]
Advanced

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

how to keep newlines in ``


From: Sam Steingold
Subject: how to keep newlines in ``
Date: Wed, 26 Aug 2009 15:04:16 -0400
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

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.





reply via email to

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