I think the problem is I was stupid enough not to test the case of
`dirname foo' in the recent changes:

/tmp/fofo % sh /tmp/dirname.sh                                   nostromo Err 2
         dir           al           dn
           1                         .
         //1            /            /
          /1            /            /
         ./1            .            .
     ../../2        ../..        ../..
        //1/            /            /
         /1/            /            /
        ./1/            .            .
     ../../2        ../..        ../..
       //1/3          //1          //1
        /1/3           /1           /1
       ./1/3          ./1          ./1
   ../../2/3      ../../2      ../../2
    //1/3///          //1          //1
     /1/3///           /1           /1
    ./1/3///          ./1          ./1
../../2/3///      ../../2      ../../2
     //1//3/          //1          //1
      /1//3/           /1           /1
     ./1//3/          ./1          ./1
 ../../2//3/      ../../2      ../../2

I'm looking at this.

Reply via email to