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, 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.


Turn your bash customisation off and try again.

 
> [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
> 
> - jkt
> 
> 



-- 
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