向高人请教:怎么从大量的文件中grep# Unix - 噫吁兮,危乎高哉
n*r
1 楼
Hi,
Any one know how to use grep. I got the following error:
Arguments too long
I do some research on this issue. Some one said I can use xargs. The I try:
find . -type f |xargs grep "Run_Time" *
I get the error again.
各位高人可有什么建议?我知道文件的数目很大。不知谁有写过scripts.
或者用其他方法。比如怎么按文件生成的时间来查。先grep今天生成的文件,在grep昨
天生成的文件。
先谢了。
Any one know how to use grep. I got the following error:
Arguments too long
I do some research on this issue. Some one said I can use xargs. The I try:
find . -type f |xargs grep "Run_Time" *
I get the error again.
各位高人可有什么建议?我知道文件的数目很大。不知谁有写过scripts.
或者用其他方法。比如怎么按文件生成的时间来查。先grep今天生成的文件,在grep昨
天生成的文件。
先谢了。