X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 2 Mar 2012 10:10:27 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: question on Cygwin's version of make Message-ID: <20120302091027.GC14404@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4F4F21AC DOT 7060209 AT cs DOT cmu DOT edu> <4F4F2877 DOT 4080006 AT cs DOT cmu DOT edu> <4F4FB35D DOT 1010802 AT molconn DOT com> <4F50275E DOT 5060901 AT cs DOT cmu DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4F50275E.5060901@cs.cmu.edu> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Mar 1 17:50, Paul Allen Newell wrote: > Given that the problem is identified (basename doesn't like spaces), This is not correct. It's not that basename doesn't like spaces, the problem is incorrect quoting. Example: $ basename /a/b/c.d .d c $ basename "/a/b/c.d .d" c.d .d And since the result still contains a space, you still have to quote it when using it in subsequent calls: $ cat "c.d .d" Hello $ cat c.d .d cat: c.d: No such file or directory cat: .d: No such file or directory Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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