5
方括号内的大小写敏感
通常,bash globe区分大小写: $ echo c* casefix.pike cdless chalices.py charconv.py chocolate.pike circum.py clip.pike cpustats.pike crop.pike cwk2txt.py $ echo C* CarePackage.md ChocRippleCake.md Clips 使用方括号似乎并没有改变: $ echo [c]* casefix.pike cdless chalices.py charconv.py chocolate.pike circum.py clip.pike cpustats.pike crop.pike cwk2txt.py $ echo [C]* CarePackage.md ChocRippleCake.md Clips 如果使用连字符,它仍然不会更改: $ echo [c-c]* casefix.pike cdless chalices.py charconv.py chocolate.pike …