Opened 19 years ago
Closed 17 years ago
#136 closed defect (worksforme)
Glob exclude broken
| Reported by: | michel | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | 2.0 |
| Keywords: | Cc: |
Description
Excluding files from a set does not work. Let's assume we have a directory with two .cpp files (helloworld.cpp and excludefile.cpp). The following line
ECHO [ glob *.cpp : excludefile.cpp ] ;
will output
helloworld.cpp excludefile.cpp
although "excludefile.cpp" has been excluded.
I have a workaround for this problem:
import set ; ECHO [ set.difference [ glob *.cpp ] : excludefile.cpp ] ;
will output
helloworld.cpp
only.
Attachments (1)
Change History (2)
by , 19 years ago
| Attachment: | testglob.zip added |
|---|
comment:1 by , 17 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Tested and works find for me with the current trunk version of Boost Jam (3.17 will be the next release).
Note:
See TracTickets
for help on using tickets.

helloworld example