grep -r 在 Solaris 上不起作用

Vik*_*dal 3 unix grep command-line solaris

如何在 Solaris 上执行递归 grep?

当我尝试时,我收到此错误:

-r: invalid option.
Run Code Online (Sandbox Code Playgroud)

San*_*ngh 7

Solaris 上的递归 grep:

find . -name "*.[chix]" | xargs grep -i -n pattern_to_search
Run Code Online (Sandbox Code Playgroud)