<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>150030</bug_id>
          
          <creation_ts>2006-10-04 01:06 0000</creation_ts>
          <short_desc>app-shells/dash-0.5.3.3 doesn&apos;t support named classes (eg. [:digit:]) with negation - patch from upstream attached</short_desc>
          <delta_ts>2006-10-09 08:19:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>askwar@digitalprojects.com</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>ka0ttic@gentoo.org</cc>
    
    <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2006-10-04 01:06:59 0000</bug_when>
            <thetext>With dash, when I do &quot;ls [![:digit:]*&quot;, dash will also show files starting with a numeral:

$ ls -la
insgesamt 0
drwxr-xr-x 2 alexander alexander  80  2. Oct 19:48 .
drwxrwxrwt 7 root      root      220  2. Oct 19:47 ..
-rw-r--r-- 1 alexander alexander   0  2. Oct 19:47 42
-rw-r--r-- 1 alexander alexander   0  2. Oct 19:48 wort
$ ls -la [![:digit:]]*
-rw-r--r-- 1 alexander alexander 0  2. Oct 19:47 42
-rw-r--r-- 1 alexander alexander 0  2. Oct 19:48 wort

This should not happen - and on bash, it doesn&apos;t happen.

Attached patch fixes this issue - I got this from upstream (Herbert Xu):

That&apos;s definitely a bug.  I&apos;ve fixed it in the git tree with
the following patch.  Thanks for pointing this out.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2006-10-04 01:07:50 0000</bug_when>
            <thetext>Created an attachment (id=98742)
dash-0.5.3.3-negation-named-class.patch

With this patch applied, things like [![:digit:]] work as they are supposed to.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>exg@gentoo.org</who>
            <bug_when>2006-10-09 08:19:38 0000</bug_when>
            <thetext>In cvs, thanks.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>98742</attachid>
            <date>2006-10-04 01:07 0000</date>
            <desc>dash-0.5.3.3-negation-named-class.patch</desc>
            <filename>dash-0.5.3.3-negation-named-class.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgZGFzaC0wLjUuMy5vcmlnL3NyYy9leHBhbmQuYyBkYXNoLTAuNS4zL3NyYy9leHBh
bmQuYwotLS0gZGFzaC0wLjUuMy5vcmlnL3NyYy9leHBhbmQuYwkyMDA1LTExLTI2IDA0OjE3OjU1
LjAwMDAwMDAwMCArMDEwMAorKysgZGFzaC0wLjUuMy9zcmMvZXhwYW5kLmMJMjAwNi0xMC0wNCAx
MDowMjowOC4xODY3NTMwMzkgKzAyMDAKQEAgLTE1ODEsNyArMTU4MSw3IEBACiAJCQkJaWYgKGMg
PT0gJ1snKSB7CiAJCQkJCWNvbnN0IGNoYXIgKnI7CiAKLQkJCQkJZm91bmQgfD0gY2NtYXRjaChw
LCBjaHIsICZyKTsKKwkJCQkJZm91bmQgfD0gISFjY21hdGNoKHAsIGNociwgJnIpOwogCQkJCQlp
ZiAocikgewogCQkJCQkJcCA9IHI7CiAJCQkJCQljb250aW51ZTsK
</data>        

          </attachment>
    </bug>

</bugzilla>