delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/02/06:29:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F50AEE9.2010203@cs.umass.edu>
Date: Fri, 02 Mar 2012 06:28:41 -0500
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [SOLVED:] Re: make producing basename error that can't be captured by "make &> make.out"
References: <4F5035D0 DOT 9070502 AT cs DOT cmu DOT edu> <4F506393 DOT 1030502 AT gmail DOT com> <4F5067E0 DOT 5000203 AT cs DOT cmu DOT edu> <4F506DD1 DOT 8080901 AT gmail DOT com> <4F50718D DOT 9030909 AT cs DOT cmu DOT edu>
In-Reply-To: <4F50718D.9030909@cs.cmu.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 3/2/2012 2:06 AM, Paul Allen Newell wrote:
> On 3/1/2012 10:50 PM, Dave Korn wrote:

> I'll go and figure out some way to filter $(PWD) to be acceptable to basename.

Generally, getting " quotes around it will do the trick.
Over the years I have managed to make many of my scripts
safe for file and directory names that have spaces. It's
a pain, but generally possible ... Eliot Moss

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