Your message dated Mon, 29 Apr 2024 15:42:36 +0200
with message-id <[email protected]>
and subject line Re: Bug#522160: bash: shopt -s extglob; var=hello; echo 
${var//?(o)} should print "hell"
has caused the Debian Bug report #522160,
regarding bash: shopt -s extglob; var=hello; echo ${var//?(o)} should print 
"hell"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
522160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash
Version: 3.2-5
Severity: normal

This works as expected:

$ shopt -s extglob; var=hello; echo ${var//+(o)}
hell

but not this valid extglob pattern:

$ shopt -s extglob; var=hello; echo ${var//?(o)}

(same with *)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (499, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-pyrrhus64 (SMP w/4 CPU cores)
Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                5.0            Debian base system miscellaneous f
ii  debianutils               3.0.1          Miscellaneous utilities specific t
ii  libc6                     2.9-6          GNU C Library: Shared libraries
ii  libncurses5               5.7+20090321-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               20080705   programmable completion for the ba

Versions of packages bash suggests:
pn  bash-doc                      <none>     (no description available)

-- no debconf information

-- 
http://www.critikart.net



--- End Message ---
--- Begin Message ---
Version: 5.0-6

On Wed, 1 Apr 2009 12:30:11 +0200 Louis-David Mitterrand <[email protected]> wrote:
This works as expected:

$ shopt -s extglob; var=hello; echo ${var//+(o)}
hell

but not this valid extglob pattern:

$ shopt -s extglob; var=hello; echo ${var//?(o)}

(same with *)

Hi,

this issue does not seem to affect version 5.0-6 and later of bash.

    $ shopt -s extglob; var=hello; echo ${var//+(o)}
    hell
    $ shopt -s extglob; var=hello; echo ${var//?(o)}
    hell

Please reopen this bug if you can still reproduce this issue.

Regards,

--
Gioele Barabucci

--- End Message ---

Reply via email to