linux好像支持-r -R 参数。
但solaris不支持。
$ grep -R count ./*
grep: illegal option -- R
Usage: grep -hblcnsviw pattern file . . .
$ grep -r count ./*
grep: illegal option -- r
Usage: grep -hblcnsviw pattern file . . .
$ uname -a
SunOS bjxsol3 5.10 Generic i86pc i386 i86pc
怎么解决这个问题呢?
------解决方案--------------------------------------------------------
find . -type f
------解决方案--------------------------------------------------------
xargs grep count