Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh version and echo -n
- X-seq: zsh-users 182
- From: matthew s messner <s@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: zsh version and echo -n
- Date: Sat, 17 Feb 1996 23:15:36 -0500 (EST)
- Cc: Chris Dean <ctdean@xxxxxxxxxxxxxxxx>
- In-reply-to: <199602162053.MAA05429@xxxxxxxxxxxxxxxxxxxxxx>
On Fri, 16 Feb 1996, Chris Dean wrote:
> Using this version, "echo -n foo" doesn't work as expected. I
> expected echo -n to print without a newline, instead nothing is
> printed:
>
> zen% echo foo
> foo
> zen% echo -n foo
> zen%
>
i had this "problem" once before myself. i believe it is your
prompt that is masking the output. for example:
Trout-871:~> echo -n foo p0 02/17/96 23:11
Trout-872:~> echo -n foo; echo p0 02/17/96 23:11
foo
Trout-873:~> echo -n foo; notacommand p0 02/17/96 23:11
foozsh: command not found: notacommand
Trout-874:~> bob=`echo -n foo` p0 02/17/96 23:11
Trout-875:~> echo $bob p0 02/17/96 23:11
foo
Trout-876:~>
please pardon my excessive prompt.
sync'pely,
-s
Messages sorted by:
Reverse Date,
Date,
Thread,
Author