www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <f60fe000804200510w5e3d3c08jd0b566d9188128e4@mail.gmail.com> |
Date: | Sun, 20 Apr 2008 08:10:01 -0400 |
From: | "Mark J. Reed" <markjreed AT mail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bash script works on one PC, bombs on another? |
In-Reply-To: | <943be0b10804191330y485bdcfflcbbf7688ccfaf2f7@mail.gmail.com> |
MIME-Version: | 1.0 |
References: | <943be0b10804181948t509e7a6cg189229e568ba03fc AT mail DOT gmail DOT com> <48097839 DOT F9B4831 AT dessent DOT net> <943be0b10804191330y485bdcfflcbbf7688ccfaf2f7 AT mail DOT gmail DOT com> |
X-Google-Sender-Auth: | ada17dbdb29290f9 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 Sat, Apr 19, 2008 at 4:30 PM, Dave Burns <tburns AT hawaii DOT edu> wrote: > I considered that, and edited the file using vim, and retyped that > line. Is that enough to eliminate that possibility? Nope, vim will happily preserve the line-ending convention of the file. Look for an indicator in the status line - "(text)" or "(text mode)" or "(DOS)" or something, don't recall offhand. That means it has CRLF's. You can fix it by typing :set notextmode and then writing it back out. Or, as Gary said, run d2u on it. -- Mark J. Reed <markjreed AT gmail DOT com> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |