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

2002-11-21 Thread Thomas Dodd
Mike A. Harris wrote: On Fri, 15 Nov 2002, Marc Murphy wrote: 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 t

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

2002-11-20 Thread Mike A. Harris
On Sat, 16 Nov 2002, John wrote: >> >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 >

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

2002-11-19 Thread Gordon Messmer
On Tue, 2002-11-19 at 01:34, Miloslav Trmac wrote: > On Sat, Nov 16, 2002 at 01:50:03AM -0500, Mike A. Harris wrote: > > This isn't a bug. You're not generating a final '\n' character, > > and as such, when the program exits, and bash goes to display the > > prompt, it overwrites the 'hello' thu

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

2002-11-19 Thread Miloslav Trmac
On Sat, Nov 16, 2002 at 01:50:03AM -0500, Mike A. Harris wrote: > This isn't a bug. You're not generating a final '\n' character, > and as such, when the program exits, and bash goes to display the > prompt, it overwrites the 'hello' thus showing nothing. Mike, although I won't show you a refere

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

2002-11-16 Thread David Willson
To: [EMAIL PROTECTED] Subject: Re: bash and perl output of 'hello' with no \n doesn't work Not a bug? Hmm, I guess a car manufacturer could just switch the brake and gas pedal around. The car would still work, but it would just behave a bit differently for those who didn't k

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

2002-11-16 Thread Marc Murphy
Not a bug? Hmm, I guess a car manufacturer could just switch the brake and gas pedal around. The car would still work, but it would just behave a bit differently for those who didn't know about the change. Yeah, we know what's going on now with the prompt, but it doesn't mean it's not scre

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

2002-11-16 Thread John
On Sat, 16 Nov 2002, Mike A. Harris wrote: > On Fri, 15 Nov 2002, Marc Murphy wrote: > > >Date: Fri, 15 Nov 2002 03:08:30 -0500 > >From: Marc Murphy <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Content-Type: text/plain; charset=us-ascii; format=flowed > >List-Id: Discussion of Red Hat Linux 8.

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

2002-11-15 Thread Mike A. Harris
On Fri, 15 Nov 2002, Marc Murphy wrote: >Date: Fri, 15 Nov 2002 03:08:30 -0500 >From: Marc Murphy <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Content-Type: text/plain; charset=us-ascii; format=flowed >List-Id: Discussion of Red Hat Linux 8.0 (Psyche) >Subject: bash and perl output of 'hello' with

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

2002-11-15 Thread Mike A. Harris
On Fri, 15 Nov 2002, John wrote: >Date: Fri, 15 Nov 2002 18:54:06 +0800 (WST) >From: John <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Content-Type: TEXT/PLAIN; charset=US-ASCII >List-Id: Discussion of Red Hat Linux 8.0 (Psyche) >Subject: Re: bash and perl output of &#

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

2002-11-15 Thread John
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 > > > 000: 6865 6c6c 6f hello > > > [s

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

2002-11-15 Thread John
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 > > 000: 6865 6c6c 6f hello > > [summer@orange summer]$ cat x > > [summer@orange summer]$ > > How very odd

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

2002-11-15 Thread Gordon Messmer
On Fri, 2002-11-15 at 06:54, Brian K. Jones wrote: > On Friday 15 November 2002 5:54 am, John wrote: > > > > I'm beginning to think Psyche is a good one to miss. > > Amen brother. This will also slow my dept's adoption of the next release. > Inevitably, I'll also end up having to run another di

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

2002-11-15 Thread Manfred Hollstein
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 > > 000: 6865 6c6c 6f hello > > [summer@orange summer]$ cat x > > [summer@orange summer]$ >

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

2002-11-15 Thread Brian K. Jones
On Friday 15 November 2002 5:54 am, John wrote: > > I'm beginning to think Psyche is a good one to miss. Amen brother. This will also slow my dept's adoption of the next release. Inevitably, I'll also end up having to run another distro somewhere in the department just so I'm comfortable enoug

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

2002-11-15 Thread Ronald Hermans
I must admit, only started with Perl after installing RH8. Ronald -Original Message- From: John [mailto:psyche@;computerdatasafe.com.au] Sent: vrijdag 15 november 2002 13:28 To: '[EMAIL PROTECTED]' Subject: RE: bash and perl output of 'hello' with no \n doesn't w

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

2002-11-15 Thread Jay Turner
On Fri, Nov 15, 2002 at 06:54:06PM +0800, John wrote: > It is not a Perl problem: > summer@orange summer]$ xxd x > 000: 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

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

2002-11-15 Thread John
On Fri, 15 Nov 2002, Ronald Hermans wrote: > Yes, I had the same problem. The clou is that the prompt overrides your > output. > To solution is simple: Use \n I thought that too. However, it behaves differentlyon RHL 7.3. -- Psyche-list mailing list [EMAIL PROTECTED] https://listman.redhat

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

2002-11-15 Thread Marco Fioretti
It is the Unicode/UTF8 thing again. I have seen almost the same thing in my random signature script, and, as you can see in this message, I've temporarily removed it for lack of time. For the record, the one-liner (perfectly working in RH 7.3) was: set signature="perl -an0777F'\n\s*\n' -e 'print \

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

2002-11-15 Thread Miloslav Trmac
On Fri, Nov 15, 2002 at 03:08:30AM -0500, Marc Murphy wrote: > #!/usr/bin/perl > print 'hello'; > > Does not print, but if I redirect the output to a file using, it does. It does print, but the prompt overwrites it. Already in bugzilla. Mirek -- Psyche-list mailing list [EMAIL PROTECT

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

2002-11-15 Thread John
On Fri, 15 Nov 2002, Marc Murphy wrote: > 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 > newlin

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

2002-11-15 Thread Ronald Hermans
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: [EMAIL PROTECTED] Subject: bash and perl output of 'hello' with no \n do