X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria <Andrew AT DeFaria DOT com> Subject: Re: Fwd: CRLF Date: Sun, 01 Jan 2012 20:21:25 -0800 Lines: 20 Message-ID: <jdrbc7$opu$1@dough.gmane.org> References: <jdmp00$dso$1 AT dough DOT gmane DOT org> <jdna2f$cqu$1 AT dough DOT gmane DOT org> <CAGHJv4cccBsX3=Mw3CykKXbyqZctONt0hUf6mUO_52RxsGXW=g AT mail DOT gmail DOT com> <CAGHJv4e2=c6Vm6Lu0W78rR1zVx7w1N_Ajs5Py+nfDnX1oRiCdg AT mail DOT gmail DOT com> <Pine DOT BSM DOT 4 DOT 64L DOT 1112311952120 DOT 14351 AT herc DOT mirbsd DOT org> <CAGHJv4fgtM+QCFnrGb0pD-FT5A3R0hwOV8uF+4C_xEmtr_+dzQ AT mail DOT gmail DOT com> <jdo0dg$7p2$1 AT dough DOT gmane DOT org> <20111231233109 DOT GA3446 AT ednor DOT casa DOT cgf DOT cx> <jdp6en$hqr$1 AT dough DOT gmane DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 In-Reply-To: <jdp6en$hqr$1@dough.gmane.org> X-Stationery: 0.7.7 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> 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 01/01/2012 12:45 AM, Franz Fehringer wrote: > Hi Christopher, > > What is this "interesting workaround"? > Most probably we will use bash with "set -o igncr" btw. > Actually I hadn't heard about set -o igncr until this thread but thinking about it I wouldn't use it. If I did then things would "just work" for me. Problem is I'm very good with Cygwin but I come across others who very often do not invest as much time to get to know Cygwin. So if there's trailing CRs in a script I want it to fail so that I see it. Otherwise another user will say "I tried that but it didn't work" (as they always do) and I don't want it to "just work" when I try it - I want it to fail like it most liked did for the other guy. When I hit this problem I simply do d2u <file> and I'm done. -- Andrew DeFaria <http://defaria.com> If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. -- 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