Package: make
Version: 3.81-5
Severity: minor

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

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages make depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

make recommends no packages.

Versions of packages make suggests:
ii  make-doc                      3.81-4     Documentation for the GNU version 

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to