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