Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




[wingide-users] CR and CRLF

Peter.Frey@haufe.de Peter.Frey@haufe.de
Tue, 9 Jul 2002 16:08:15 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C22752.1148F230"

------_=_NextPart_001_01C22752.1148F230
Content-Type: text/plain


There is a python script that should be in each python distribution that
does something similar:

see Python20\Tools\scripts\lfcr.py

it maps LF to CR LF, so you just need to replace the first LF by CR to have
what you need.

Peter


-----Original Message-----
From: MBarclay@cri-inc.com [mailto:MBarclay@cri-inc.com]
Sent: Tuesday, July 09, 2002 3:53 PM
To: wingide-users@wingide.com
Subject: [wingide-users] CR and CRLF


Is there any support in the WingIDE editor for changing end of line styles
from CR to CR LF? In particular, from time to time I have files that have
mixed end-of line styles and it would be convenient to be able to convert
them (from within the WingIDE environment) so that all lines end with CR LF
("\r\n")

Mark


_________________________________________________
Wing IDE discussion list
http://wingide.com/support/forum

------_=_NextPart_001_01C22752.1148F230
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [wingide-users] CR and CRLF</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>There is a python script that should be in each python distribution that does something similar:</FONT>
</P>

<P><FONT SIZE=2>see Python20\Tools\scripts\lfcr.py</FONT>
</P>

<P><FONT SIZE=2>it maps LF to CR LF, so you just need to replace the first LF by CR to have what you need.</FONT>
</P>

<P><FONT SIZE=2>Peter</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: MBarclay@cri-inc.com [<A HREF="mailto:MBarclay@cri-inc.com">mailto:MBarclay@cri-inc.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, July 09, 2002 3:53 PM</FONT>
<BR><FONT SIZE=2>To: wingide-users@wingide.com</FONT>
<BR><FONT SIZE=2>Subject: [wingide-users] CR and CRLF</FONT>
</P>
<BR>

<P><FONT SIZE=2>Is there any support in the WingIDE editor for changing end of line styles</FONT>
<BR><FONT SIZE=2>from CR to CR LF? In particular, from time to time I have files that have</FONT>
<BR><FONT SIZE=2>mixed end-of line styles and it would be convenient to be able to convert</FONT>
<BR><FONT SIZE=2>them (from within the WingIDE environment) so that all lines end with CR LF</FONT>
<BR><FONT SIZE=2>(&quot;\r\n&quot;)</FONT>
</P>

<P><FONT SIZE=2>Mark</FONT>
</P>
<BR>

<P><FONT SIZE=2>_________________________________________________</FONT>
<BR><FONT SIZE=2>Wing IDE discussion list</FONT>
<BR><FONT SIZE=2><A HREF="http://wingide.com/support/forum" TARGET="_blank">http://wingide.com/support/forum</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C22752.1148F230--

--------------InterScan_NT_MIME_Boundary--






Run by Mailman v 2.0.8


Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements