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]

 



Yes, I had the same problem. The clou is that the prompt overrides your
output.
To solution is simple: Use \n


-----Original Message-----
From: Marc Murphy [mailto:mwmurphy@rogers.com]
Sent: vrijdag 15 november 2002 9:09
To: psyche-list@redhat.com
Subject: bash and perl output of 'hello' with no \n doesn't work


Has anyone else encountered this problem with a fresh install?

#!/usr/bin/perl
print 'hello';

Does not print, but if I redirect the output to a file using, it does. 
 It also will print if I use the \n character.  When I use csh the 
newline character is not needed.  Can anyone tell me what is going on?



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



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