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

  • Next message: Sid Boyce: "Re: [SLE] OpenOffice 2.0"
    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
    

  • Next message: Sid Boyce: "Re: [SLE] OpenOffice 2.0"

    Relevant Pages

    • RE: [SLE] Remote X Sessions
      ... 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 ...
      (SuSE)
    • Re: [SLE] Strange partial freeze
      ... 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 ...
      (SuSE)
    • Re: [SLE] Im tired--9.2
      ... > 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)
    • RE: [SLE] BCM5703X nic loses ip connectivity sporadically--Correction: Its a BCM5700
      ... 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 -- ...
      (SuSE)
    • [SLE] Boot problem after accidental poweroff
      ... Check the headers for your unsubscription address ... For additional commands send e-mail to suse-linux-e-help@suse.com Also check ... Also check the archives at http://lists.suse.com ... Please read the FAQs: suse-linux-e-faq@suse.com ...
      (SuSE)