delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/30/13:55:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20091230181849.GA17448@ednor.casa.cgf.cx>
References: <000801ca88a9$ec71c510$c5554f30$@com> <20091230120129 DOT GA32652 AT calimero DOT vinschen DOT de> <20091230181849 DOT GA17448 AT ednor DOT casa DOT cgf DOT cx>
Date: Wed, 30 Dec 2009 13:55:43 -0500
Message-ID: <f60fe000912301055w7eb0fffagf6e8696bd28853fc@mail.gmail.com>
Subject: Re: cygpath and spaces in filenames when reading from a file
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
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 Wed, Dec 30, 2009 at 1:18 PM, Christopher Faylor wrote:
> That's an option that I added. =C2=A0I am surprised that it is space deli=
mited since
> I thought I intended to make it newline delimited.

It looks pretty intentional - it reads through the input line by line
using fgets, but then calls argz_create_sep() to split each line on
spaces.

--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019