Hi:
I use grep to search string in a message like this.
> [root@office tmp]# echo "axyz" | grep [abcd]xyz
> axyz
> [root@office tmp]# echo "cxyz" | grep [abcd]xyz
> cxyz
> [root@office tmp]# echo "bxyz" | grep [abcd]xyz
> bxyz
> [root@office tmp]# echo "dxyz" | grep [abcd]xyz
> dxyz
> [root@off
Thank you for your answer
it confused me and I didn't get grep's aguments in this case became a flie
name but not a string.
Finally I recognize 'bash' do some regex search before 'grep' execute.
'bash' searching costs lots of time when number of files is big.
Yes it's not a bug, please close it.
H