[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #34747] wildcard function does not handle names with spaces
From: |
Jose Diaz |
Subject: |
[bug #34747] wildcard function does not handle names with spaces |
Date: |
Fri, 04 Nov 2011 18:47:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.04 Chromium/8.0.552.215 Chrome/8.0.552.215 Safari/534.10 |
URL:
<http://savannah.gnu.org/bugs/?34747>
Summary: wildcard function does not handle names with spaces
Project: make
Submitted by: josediazaz
Submitted on: Fri 04 Nov 2011 06:47:30 PM GMT
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
; wildcard does not handle files with spaces in them.
; A file called "t t" is not 'seen' by wildcard. I tried
; to refer to is as t\\ t or "t\\ t" or "t t" or... etc
; In the following dump (files are in the attached zip file)
; wildcard behaves as expected when the file is name t. When
; I rename the file to t\ t, wildcard cannot 'see' it.
$ ls
Makefile t
$ cat t
VAR_SET_IN_FILE=TRUE
$ cat Makefile
FILE=$(call wildcard,t)
VAR_SET_IN_FILE=FALSE
ifneq (${FILE},)
include ${FILE}
endif
head:
@echo FILE=$(FILE)
echo $(VAR_SET_IN_FILE)
$ make
FILE=t
echo TRUE
TRUE
; ---- so far so good -----
$ vi Makefile
$ mv t "t t"
$ ls
Makefile t t
$ cat Makefile
FILE=$(call wildcard,t\\ t)
VAR_SET_IN_FILE=FALSE
ifneq (${FILE},)
include ${FILE}
endif
head:
@echo FILE=$(FILE)
echo $(VAR_SET_IN_FILE)
$ make
FILE=
echo FALSE
FALSE
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 04 Nov 2011 06:47:30 PM GMT Name: BugReportWildcardAndSpaces.zip
Size: 433B By: josediazaz
This might be a know limitation....
<http://savannah.gnu.org/bugs/download.php?file_id=24302>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34747>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #34747] wildcard function does not handle names with spaces,
Jose Diaz <=