Earl Chew wrote:
How do I go about logging a bug report?
You may also simply mail to: perlbug at perl dot org
Be sure to CC me, please.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
Igor Pechtchanski wrote:
FWIW, the following two invocations of perl from a text mount differ in
their result:
perl -e 'open OUT,">q.txt";binmode OUT;print OUT "Hello\n"'
perl -e 'binmode STDOUT;print STDOUT "Hello\n"' > q.txt
Yes, that is the interesting part, perl does all correct when writing
di
Earl Chew wrote:
Christopher Faylor wrote:
You are missing the fact that the OP was reporting a real bug,
apparently.
To confirm, I ran the program:
binmode STDOUT;
print "Hello\n";
using Perl 5.6.1-2 on Cygwin 1.5.11:
perl foo.pl > foo.txt ; od -c foo.txt
000 H e l l o \r \n
Christopher Faylor wrote:
On Thu, Nov 04, 2004 at 10:49:46PM +0100, Gerrit P. Haase wrote:
Christopher Faylor wrote:
Pipes are binmode by default.
That means they are just as pipes are ought to be, "what goes in comes
out again, not more and not less"?
Or does it mean that a pipe always strips \r?
On Thu, 4 Nov 2004, Christopher Faylor wrote:
> On Thu, Nov 04, 2004 at 10:49:46PM +0100, Gerrit P. Haase wrote:
> >Christopher Faylor wrote:
> >>Pipes are binmode by default.
> >
> >That means they are just as pipes are ought to be, "what goes in comes
> >out again, not more and not less"?
> >
>
On Thu, Nov 04, 2004 at 10:49:46PM +0100, Gerrit P. Haase wrote:
>Christopher Faylor wrote:
>>Pipes are binmode by default.
>
>That means they are just as pipes are ought to be, "what goes in comes
>out again, not more and not less"?
>
>Or does it mean that a pipe always strips \r? Then the cat ex
Christopher Faylor wrote:
Pipes are binmode by default.
That means they are just as pipes are ought to be, "what goes in comes
out again, not more and not less"?
Or does it mean that a pipe always strips \r?
Then the cat example of the OP doesn't count at all.
Gerrit
--
=^..^=
--
Unsubscribe info:
On Thu, Nov 04, 2004 at 10:15:31PM +0100, Gerrit P. Haase wrote:
>Earl Chew wrote:
>
>>This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
>>
>>I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
>>
>>Here is the Perl program:
>>
>>binmode STDOUT;
>>print "Hello\n";
>>
>>1. Output to file
Earl Chew wrote:
This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
Here is the Perl program:
binmode STDOUT;
print "Hello\n";
1. Output to file on text mount
perl foo.pl > foo.txt ; od -c foo.txt
000 H e l l o \r \n# P
Yitzchak Scott-Thoennes wrote:
> So check the length.
Good idea:
binmode STDOUT;
print "Hello\n";
perl foo.pl > foo.txt ; od -c foo.txt ; ls -l foo.txt
000 H e l l o \r \n# Perl 5.8.5-3 Cygwin 1.5.11
-rw-r--r-- 1 earl mkpasswd 7 Nov 4 11:10 foo.txt
> -Original Message-
> From: cygwin-owner On Behalf Of Christopher Faylor
> Sent: 04 November 2004 19:05
> On Thu, Nov 04, 2004 at 06:52:03PM -, Dave Korn wrote:
> >> -Original Message-
> >> From: cygwin-owner On Behalf Of Earl Chew
> >> Sent: 04 November 2004 18:40
> >> The p
On Thu, Nov 04, 2004 at 11:08:17AM -0800, Yitzchak Scott-Thoennes wrote:
>On Thu, Nov 04, 2004 at 06:52:03PM -, Dave Korn <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] /win/textmode/c> od -c foo.txt
>> 000 H e l l o \n
>> 006
>> [EMAIL PROTECTED] /win/textmode/c> od -c < fo
On Thu, Nov 04, 2004 at 06:52:03PM -, Dave Korn <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] /win/textmode/c> od -c foo.txt
> 000 H e l l o \n
> 006
> [EMAIL PROTECTED] /win/textmode/c> od -c < foo.txt
> 000 H e l l o \r \n
> 007
> [EMAIL PROTECTED] /win
On Thu, Nov 04, 2004 at 06:52:03PM -, Dave Korn wrote:
>> -Original Message-
>> From: cygwin-owner On Behalf Of Earl Chew
>> Sent: 04 November 2004 18:40
>
>> Christopher Faylor wrote:
>> > You are missing the fact that the OP was reporting a real
>> bug, apparently.
>>
>> To confirm,
> -Original Message-
> From: cygwin-owner On Behalf Of Earl Chew
> Sent: 04 November 2004 18:40
> Christopher Faylor wrote:
> > You are missing the fact that the OP was reporting a real
> bug, apparently.
>
> To confirm, I ran the program:
>
> binmode STDOUT;
> print "Hello\
Christopher Faylor wrote:
You are missing the fact that the OP was reporting a real bug, apparently.
To confirm, I ran the program:
binmode STDOUT;
print "Hello\n";
using Perl 5.6.1-2 on Cygwin 1.5.11:
perl foo.pl > foo.txt ; od -c foo.txt
000 H e l l o \r \n
On Thu, Nov 04, 2004 at 12:28:33PM -0500, Igor Pechtchanski wrote:
>On Thu, 4 Nov 2004, Christopher Faylor wrote:
>
>> On Wed, Nov 03, 2004 at 09:21:50PM -0800, Earl Chew wrote:
>> >Igor Pechtchanski wrote:
>> >>On Wed, 3 Nov 2004, Earl Chew wrote:
>> >>
>> >>>This code used to work on Perl 5.6.1-2
On Thu, 4 Nov 2004, Christopher Faylor wrote:
> On Wed, Nov 03, 2004 at 09:21:50PM -0800, Earl Chew wrote:
> >Igor Pechtchanski wrote:
> >>On Wed, 3 Nov 2004, Earl Chew wrote:
> >>
> >>>This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
> >>>
> >>>I've now moved to Perl 5.8.5-3 on Cygwin 1.5
On Wed, Nov 03, 2004 at 09:21:50PM -0800, Earl Chew wrote:
>Igor Pechtchanski wrote:
>>On Wed, 3 Nov 2004, Earl Chew wrote:
>>
>>>This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
>>>
>>>I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
>>>
>>>Here is the Perl program:
>>>
>>> binmode STD
Igor Pechtchanski wrote:
On Wed, 3 Nov 2004, Earl Chew wrote:
This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
Here is the Perl program:
binmode STDOUT;
print "Hello\n";
1. Output to file on text mount
perl foo.pl > fo
On Wed, 3 Nov 2004, Earl Chew wrote:
> This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
>
> I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
>
> Here is the Perl program:
>
> binmode STDOUT;
> print "Hello\n";
>
> 1. Output to file on text mount
>
> perl foo.pl > foo.txt
This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10.
I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11.
Here is the Perl program:
binmode STDOUT;
print "Hello\n";
1. Output to file on text mount
perl foo.pl > foo.txt ; od -c foo.txt
000 H e l l o \r \n
22 matches
Mail list logo