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... > > - jkt > Cheers. l8er manfred -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list