X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20120210150708.GA22832@calimero.vinschen.de> References: <2BF01EB27B56CC478AD6E5A0A28931F203F560E4 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <20120210150708 DOT GA22832 AT calimero DOT vinschen DOT de> Date: Fri, 10 Feb 2012 14:44:24 -0500 Message-ID: Subject: Re: sed strips CRs From: Earnie Boyd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, Feb 10, 2012 at 10:07 AM, Corinna Vinschen wrote: > On Feb 10 08:02, Nellis, Kenneth wrote: >> Cygwin 'sed' seems to be stripping CRs from its input. >> Linux sed doesn't do this. Example: > > Try the -b option. By this I assume you to mean that the -b option opens the input file in binary mode. But the mount table the OP showed was already in binary mode. Does sed not take that into consideration, I.E. it specifies the mode as a text file unless -b is specified, is this correct? -- Earnie -- https://sites.google.com/site/earnieboyd -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple