On Thu, Nov 01, 2001 at 01:36:24PM +0100, Guido van Rooij wrote:
> On Thu, Nov 01, 2001 at 01:29:50PM +0100, Dag-Erling Smorgrav wrote:
> > Guido van Rooij <[EMAIL PROTECTED]> writes:
> > > May I aks which shell you are using?
> > 
> > Zsh.
> 
> I am starting to wonder which sh is broken.....
> 
> Btw there is a difference between sh and {t,}csh: in the sh case the newline
> is replaced with 1 space. In the case of the 2 others, there are 2 spaces.

And this is not an echo issue, it is a shell variable expansion issue.
Witness (using /bin/sh) :

$ foo='bar
> baz'
$ echo $foo
bar baz
$ /bin/echo $foo
bar baz
$ echo "$foo"
bar
baz
$ /bin/echo "$foo"
bar
baz
$

G'luck,
Peter

-- 
If I were you, who would be reading this sentence?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to