I want to match against any sequence of exactly five digits. Why does [0-9]{5} not work correctly?
by Brief-Wishbone9091 from LinuxQuestions.org on (#6CBAT)
Code:[root@localhost ~]# cat file1
11111
22222
3333333333
444444444
55555555
12345678910Code:[root@localhost ~]# grep [0-9]{5} file1It's not matching anything. Help Required? Why is it not matching anything?
11111
22222
3333333333
444444444
55555555
12345678910Code:[root@localhost ~]# grep [0-9]{5} file1It's not matching anything. Help Required? Why is it not matching anything?