Ask advice from UNix gurus...

jabber (jabber)
I am using an AIX machine and I frequently issue the following command to search for a word in all the files under the corrent directory:

find . -name "*" -exec grep -l "xyz" {} \;

However, I frequently get the following error message:

grep: 0652-226 Maximum line length of 2048 exceeded.

Can anybody tell me how to cure it?
thank you in advance.
2000-10-5 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Ask advice from UNix gurus...

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论