Is \d not supported by grep's basic expressions?

前端 未结 2 1060
庸人自扰
庸人自扰 2020-12-12 18:59

This does not generate any output. How come?

$ echo \'this 1 2 3\' | grep \'\\d\\+\'

But these do:

$ echo \'this 1 2 3\' |          


        
2条回答
提交回复
热议问题