diff options
| author | 2017-12-21 17:49:31 +0530 | |
|---|---|---|
| committer | 2017-12-21 17:49:31 +0530 | |
| commit | 988a3dd62145ff49a631837a7006cdf73bcadbe8 (patch) | |
| tree | 780e6a90f8aec42388a47605f22ac36a1eee8132 /scripts/auto-completion/bash | |
| parent | 6f4ab8e3dae7e08507e1be2faeae13e0d824f347 (diff) | |
| download | nnn-988a3dd62145ff49a631837a7006cdf73bcadbe8.tar.gz | |
Ignore punctuation marks in file name compare. Fix xstrcmp().
1. File name comparison method:
- initially ignore white space and punctuation characters
- run test for numeric values
- if the remaining substrings match in case-insensitive compare, compare case
- if they still match, see which one has more prefix symbols
- if they still match, run a case-sensitive compare on complete strings
2. Fixed xstrcmp() to return diff instead of 0 and -1.
Diffstat (limited to 'scripts/auto-completion/bash')
0 files changed, 0 insertions, 0 deletions