public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* CRLF problem in perl v5.6.1
@ 2001-04-03  6:50 e.j.pronk
  2001-04-03  8:53 ` Larry Hall (RFK Partners, Inc)
  2001-04-03 12:27 ` Charles Wilson
  0 siblings, 2 replies; 3+ messages in thread
From: e.j.pronk @ 2001-04-03  6:50 UTC (permalink / raw)
  To: cygwin

Concider the following:

perl -np -e '' infile >outfile

If infile is a CRLF textfile then outfile will be a CRCRLF.
Where is the extra CR comming from?

('' is about the simplest filter I can create)

Eddy

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CRLF problem in perl v5.6.1
  2001-04-03  6:50 CRLF problem in perl v5.6.1 e.j.pronk
@ 2001-04-03  8:53 ` Larry Hall (RFK Partners, Inc)
  2001-04-03 12:27 ` Charles Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-04-03  8:53 UTC (permalink / raw)
  To: e.j.pronk, cygwin

At 09:51 AM 4/3/2001, e.j.pronk@philips.com wrote:
>Concider the following:
>
>perl -np -e '' infile >outfile
>
>If infile is a CRLF textfile then outfile will be a CRCRLF.
>Where is the extra CR comming from?
>
>('' is about the simplest filter I can create)



 From previous discussions on this subject (which you can find in the email
archives), I'm lead to believe that its coming from Perl.  Suggested solutions
can be found in the email archives as well.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CRLF problem in perl v5.6.1
  2001-04-03  6:50 CRLF problem in perl v5.6.1 e.j.pronk
  2001-04-03  8:53 ` Larry Hall (RFK Partners, Inc)
@ 2001-04-03 12:27 ` Charles Wilson
  1 sibling, 0 replies; 3+ messages in thread
From: Charles Wilson @ 2001-04-03 12:27 UTC (permalink / raw)
  To: e.j.pronk; +Cc: cygwin

Known problem.  Search the archives for 'perl' and 'textmode'.  I believe
Eric is working on this problem for 5.6.1-TRIAL2, but I'm sure he'd
appreciate someone helping out by getting their hands dirty in the perl
source...

--Chuck


On Tue, 3 Apr 2001 e.j.pronk@philips.com wrote:

> Concider the following:
> 
> perl -np -e '' infile >outfile
> 
> If infile is a CRLF textfile then outfile will be a CRCRLF.
> Where is the extra CR comming from?
> 
> ('' is about the simplest filter I can create)
> 
> Eddy
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-03 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-03  6:50 CRLF problem in perl v5.6.1 e.j.pronk
2001-04-03  8:53 ` Larry Hall (RFK Partners, Inc)
2001-04-03 12:27 ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).