Outdated example in bash manual

NoĆ©mie Baudouin <[email protected]> Thu, 23 Jul 2026 17:48:38 +0200
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
--Apple-Mail=_137EE28B-01EC-4EE4-A1BE-333CE514BE5C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,=20

I noticed an outdated example on this page =
<https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_shell_g=
lob> (and in the pdf page 57).

Context:
$ touch 1.txt 2.txt 3.c 4.h .5.txt ..6.txt
Since bash 5.2,
$ echo .*
does not return:
. .. .5.txt ..6.txt
but
.5.txt ..6.txt

Thank you so much for all you great work!

Have a lovely day,

No=C3=A9mie=

--Apple-Mail=_137EE28B-01EC-4EE4-A1BE-333CE514BE5C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;">Hello,&nbsp;<div><br></div><div>I noticed an =
outdated example on&nbsp;<a =
href=3D"https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_=
shell_glob">this page</a>&nbsp;(and in the pdf page =
57).</div><div><br></div><div>Context:</div><div><span =
style=3D"caret-color: rgb(11, 11, 8); color: rgb(11, 11, 8); =
white-space: pre-wrap; background-color: rgb(255, 255, 255);"><i><font =
face=3D"Courier New">$ touch 1.txt 2.txt 3.c 4.h .5.txt =
..6.txt</font></i></span></div><div>Since bash 5.2,</div><div><span =
style=3D"white-space: pre-wrap; color: rgb(11, 11, 8); =
font-variant-ligatures: normal; background-color: rgb(255, 255, =
255);"><i><font face=3D"Courier New">$ echo =
.*</font></i></span></div><div><span style=3D"white-space: pre-wrap; =
color: rgb(11, 11, 8); font-variant-ligatures: normal; background-color: =
rgb(255, 255, 255);"><span style=3D"caret-color: rgb(0, 0, 0); color: =
rgb(0, 0, 0); white-space: normal;">does not return:</span>
<i><font face=3D"Courier New">. .. .5.txt =
..6.txt</font></i></span></div><div><span style=3D"white-space: =
pre-wrap; color: rgb(11, 11, 8); font-variant-ligatures: normal; =
background-color: rgb(255, 255, 255);">but</span></div><div><span =
style=3D"white-space: pre-wrap; color: rgb(11, 11, 8); =
font-variant-ligatures: normal; background-color: rgb(255, 255, =
255);"><i><font face=3D"Courier New">.5.txt =
..6.txt</font></i></span></div><div><span style=3D"white-space: =
pre-wrap; color: rgb(11, 11, 8); font-variant-ligatures: normal; =
background-color: rgb(255, 255, 255);"><br></span></div><div><span =
style=3D"white-space: pre-wrap; color: rgb(11, 11, 8); =
font-variant-ligatures: normal; background-color: rgb(255, 255, =
255);">Thank you so much for all you great work!</span></div><div><span =
style=3D"white-space: pre-wrap; color: rgb(11, 11, 8); =
font-variant-ligatures: normal; background-color: rgb(255, 255, =
255);"><br></span></div><div><span style=3D"white-space: pre-wrap; =
color: rgb(11, 11, 8); font-variant-ligatures: normal; background-color: =
rgb(255, 255, 255);">Have a lovely day,</span></div><div><span =
style=3D"white-space: pre-wrap; color: rgb(11, 11, 8); =
font-variant-ligatures: normal; background-color: rgb(255, 255, =
255);"><br></span></div><div><span style=3D"white-space: pre-wrap; =
color: rgb(11, 11, 8); font-variant-ligatures: normal; background-color: =
rgb(255, 255, 255);">No=C3=A9mie</span></div></body></html>=

--Apple-Mail=_137EE28B-01EC-4EE4-A1BE-333CE514BE5C--