|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |