URL: <http://savannah.gnu.org/bugs/?26863>
Summary: $(wildcard x*/) returns non-directories? Project: make Submitted by: srivasta Submitted on: Sun 21 Jun 2009 11:46:39 AM CDT Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: POSIX-Based Fixed Release: None _______________________________________________________ Details: Hi, This bug was reported by a Debian user. In the transcript below, I test globbing in both the shell and in GNU Make's $(wildcard) function. It seems to me that while * and */ behave correctly, but ?*/ should NOT list the file y. $ with-temp-dir with-temp-dir: entering directory `/tmp/with-temp-dir.bNzKiB' This directory will be deleted when you exit. $ mkdir x $ touch y $ echo * x y $ echo */ x/ $ echo ?*/ x/ $ printf 'z:\n\t#$(wildcard *)' | make -f - #x y $ printf 'z:\n\t#$(wildcard */)' | make -f - #x/ $ printf 'z:\n\t#$(wildcard ?*/)' | make -f - #x/ y $ exit with-temp-dir: leaving directory `/tmp/with-temp-dir.bNzKiB' $ manoj _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26863> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make