Re: [SLE] Get around this errorr?? grep: 0652-226 Maximum line length of 2048 exceeded.
From: Anders Johansson (andjoh_at_rydsbo.net)
Date: 09/30/05
- Previous message: Theo v. Werkhoven: "Re: [SLE] Get around this errorr?? grep: 0652-226 Maximum line length of 2048 exceeded."
- In reply to: Theo v. Werkhoven: "Re: [SLE] Get around this errorr?? grep: 0652-226 Maximum line length of 2048 exceeded."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Fri, 30 Sep 2005 22:49:12 +0200
On Friday 30 September 2005 22:41, Theo v. Werkhoven wrote:
> Fri, 30 Sep 2005, by pobrien@doit.nv.gov:
> > How do I get around this 2048 error again? Thank you.
> >
> >
> >
> >
> >
> > find /home -type f -exec grep 'string' {} \; -exec ls {}
> >
> >
> >
> > grep: 0652-226 Maximum line length of 2048 exceeded.
>
> Use xargs(1) in stead of -exec
How would that help? -exec gets only one file name as a parameter. It gets
executed once per file. The problem here is that the AIX version of grep only
handles lines of 2048 characters at most
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Theo v. Werkhoven: "Re: [SLE] Get around this errorr?? grep: 0652-226 Maximum line length of 2048 exceeded."
- In reply to: Theo v. Werkhoven: "Re: [SLE] Get around this errorr?? grep: 0652-226 Maximum line length of 2048 exceeded."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|