X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 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: <20091230120129.GA32652@calimero.vinschen.de> References: <000801ca88a9$ec71c510$c5554f30$@com> <20091230120129 DOT GA32652 AT calimero DOT vinschen DOT de> Date: Wed, 30 Dec 2009 08:12:29 -0500 Message-ID: Subject: Re: cygpath and spaces in filenames when reading from a file From: "Mark J. Reed" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Wed, Dec 30, 2009 at 7:01 AM, Corinna Vinschen wrote: > No, it doesn't. =C2=A0Space is used as the field separator in the file. = =C2=A0I > assume we need an extension like allowing to specify another separator. > Another one for next year... As a first step, maybe just adding an xargs-style "--null/-0" to treat input as NUL-separated instead of whitespace-separated would be worthwhile? The options list is kinda full, single-letter-alias-wise; I see no obvious place to put a more general '--delimiter' (-d and -D and -f and -F and -s and -S are all taken). Also, allowing specification of an arbitrary delimiter would seem to open up another can of character-encoding worms. --=20 Mark J. Reed -- 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