delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Thu, 5 Apr 2001 14:08:28 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Proposed Changes to mount |
Message-ID: | <20010405140828.A1484@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <000a01c0bdf3$832a1650$9531273f AT ca DOT boeing DOT com> <20010405134001 DOT A3662 AT redhat DOT com> <200104051756 DOT NAA13702 AT envy DOT delorie DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <200104051756.NAA13702@envy.delorie.com>; from dj@delorie.com on Thu, Apr 05, 2001 at 01:56:25PM -0400 |
On Thu, Apr 05, 2001 at 01:56:25PM -0400, DJ Delorie wrote: > >> > Each line would have at least one trailing space followed by a CRLF line >> >ending to allow the output to work correctly as either a Cygwin shell script >> >or a Win32 batch file. >> >> I don't understand the need for a space. There should be no reason for that. > >It was my suggestion, and needs a second patch to work right. The >reasoning is that mount can always create the file in text mode >(CR/LF), so that it can always be used as a .bat file. However, it >can also be used as a shell script *if* the extra CR (which would >otherwise be appended to the last argument) is isolated *and* if mount >checks the last argument to see if it's a CR and strips it. I still don't get it. ash should open shell scripts in text mode so the existence of the CR in the CRLF should be invisible. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |