Re: shell 問題

看板Linux作者時間17年前 (2009/01/30 19:57), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《nescafe.bbs@bbs.badcow.com.tw (☆★☆★☆★☆)》之銘言: > 在o'reilly 的bash shell入門 第三版 > 書上說 [a-z] 代表 所有小寫字母 > 不過實際試過,它會符合所有大小寫的字母 > 是不是不該太相信wildcard expansion,由其在下 rm -f 指令時.... If you execute 'export LANG=C' then execute 'ls -d [a-z]'. The result will be right. This may be the bug of bash. -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: 59-104-129-203.adsl.dynamic.seed.net.tw
文章代碼(AID): #19WkiX00 (Linux)
文章代碼(AID): #19WkiX00 (Linux)