http://www.itpub.net/739188,1.html
itpub有人遇到grep的问题,可能是字符集的问题。我的测试在rhel4上出现,其他版本没有遇到。
# export LANG=zh_CN
# grep '[A-Z]om' aa
Anyway, Tom, I need your help. I'd like to make the test up
think you could help me? After work, about 7 PM,come to
# export LANG=en_US
# grep '[A-Z]om' aa
Anyway, Tom, I need your help. I'd like to make the test up
# export LANG=
# grep '[A-Z]om' aa
Anyway, Tom, I need your help. I'd like to make the test up