hollasch / pathmatch

A directory/filename pattern match utility for the Windows command shell
MIT License
6 stars 3 forks source link

Pathmatch .../desktop.ini finishes with last line of containing directory #16

Closed hollasch closed 8 years ago

hollasch commented 8 years ago

I ran 'pathmatch .../desktop.ini', and the output finished with a last desktop.ini file, and then one more line that contained just its parent directory. For example:

> pathmatch .../desktop.ini
...
Process\desktop.ini
Process\

There seems to be something strange about this directory.

hollasch commented 8 years ago

Seems like it might be a good idea to include a --debug switch.

hollasch commented 8 years ago

The problem ended up being that the final directory (in the listing) began with an unprintable character of some kind (didn't figure out which one). No repro for this one, unfortunately.