[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 09 Jun 2014 12:42:23 -0700
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)
Running this script with your own bash path demonstrates the bug.
shopt -s extglob
shopt -s dotglob
cd $(mktemp -d)
a/. a/.. a/c
this happens with all bash versions 4.3+ (latest is patch 18).
before that, the output is:
Another related bug. man bash states:
The file names ``.'' and ``..'' are always ignored
when GLOBIGNORE is set and not null.
Which clearly implies that . and .. should not be ignored in some other
case. Well, that was not true before 4.3, but I'm guess this new
behavior is a bug, and the doc is a bug, since the doc hasn't changed,
and setting GLOBIGNORE doesn't actually make . and .. be ignored.
- dotgob+extglob bug,
Ian Kelling <=