delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/07/08:14:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: Ending space in file names is stripped, "sometimes"?
References: <d2abgyunqp DOT fsf AT air DOT local> <loom DOT 20080704T084927-370 AT post DOT gmane DOT org>
From: Kent Boortz <kent AT mysql DOT com>
Date: Mon, 07 Jul 2008 14:13:36 +0200
In-Reply-To: <loom.20080704T084927-370@post.gmane.org> (Mark Geisert's message of "Fri, 04 Jul 2008 08:51:50 +0000 (UTC)")
Message-ID: <d2myktlwnj.fsf@air.local>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.1 (darwin)
MIME-Version: 1.0
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

[For some reason this email got stuck in my "not sent" folder]

Mark Geisert <mark AT maxrnd DOT com> writes:
> Thanks for the cygcheck output, but if the problem is observed only "sometimes" 
> maybe you could provide an example?

Sorry, I was not clear, I did not mean it was "random".

I meant that 'ls "foo "' complained the directory was not found if the
space was included, while "find" did happily accept "foo", "foo ",
"foo " as argument meaning the same thing, still including the extra
spaces in the output. This is shown in the examples I included.

So there are some problem with "space at the end of directory/file
part" going on effecting different commands differently,

kent

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

- Raw text -


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