Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020423094501.0274f1f0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Tue, 23 Apr 2002 09:46:24 -0400 To: lau bella , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Append: file contains ^M characters for binmode mount In-Reply-To: <20020423103350.54830.qmail@web20802.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:33 AM 4/23/2002, lau bella wrote: >Hi all, > >Append to previous message, i found somethings: >1/ When i run bash script in cygwin, e.g. > #!/bin/bash > echo "123" >> output_file > echo "456" >> output_file > echo "789" >> output_file > > the output file is in unix mode, i.e. without ^M at >the end of each line. > >2/ When i run perl (cygwin perl), exp (export of >oracle) and ftp in cygwin, the output files are in DOS >format. When i vi the output files, the ^M is not >appear in vi, but at the bottom of screen, it shows > >"fileabc" [dos format] 3 lines, 209 characters > >Is the output_file generated by other software (e.g. >oracle, perl) should generated as DOS mode, even run >in cygwin ? But perl is bundled by cygwin. Yep. Historically, this has been an issue for Perl (from Cygwin). I believe the issue persists. Check the email archives if you want more information. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/