Re: bash and perl output of 'hello' with no \n doesn't work

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

 



On Fri, 15 Nov 2002, Manfred Hollstein wrote:

> On Fri, 15 Nov 2002, 14:47:49 +0100, Jay Turner wrote:
> > On Fri, Nov 15, 2002 at 06:54:06PM +0800, John wrote:
> > > It is not a Perl problem:
> > > summer@orange summer]$ xxd x
> > > 0000000: 6865 6c6c 6f                             hello
> > > [summer@orange summer]$ cat x
> > > [summer@orange summer]$
> > 
> > How very odd . . . works just fine here on all of the machines I just poked
> > at.
> > 
> > [haring (root):~]# cat /tmp/test.pl
> > #!/usr/bin/perl
> > print 'hello';
> > [haring (root):~]# perl /tmp/test.pl
> > hello[haring (root):~]# perl /tmp/test.pl > /tmp/foo
> > [haring (root):~]# xxd /tmp/foo
> > 0000000: 6865 6c6c 6f                             hello
> > [haring (root):~]# cat /tmp/foo
> > hello[haring (root):~]#
> > 
> > [haring (root):~]# rpm -q bash
> > bash-2.05b-5
> 
> bash is emitting a '\r' before printing the prompt (PS1); if you set
> PS1 to the empty string, you'll see the string 'hello' _after_ the
> cursor...

Does installing bash from RHL 7.3 cure the problem? I note that I do _not_ have
the problem there, and PS1 has the same setting.




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux