This does not generate any output. How come?
$ echo \'this 1 2 3\' | grep \'\\d\\+\'
But these do:
$ echo \'this 1 2 3\' |
Try this $ echo 'this 1 2 3' | grep '[0-9]\+'
$ echo 'this 1 2 3' | grep '[0-9]\+'