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

From: Kumar, Praveen (cahoot) (Praveen.Kumar@CAHOOT.COM)
Date: Thu Mar 04 2004 - 11:23:29 EST


Simon,
        Thank you ! the awk command works and i have gone through the awk
command and found a lot of such text search/manipulation things which could
be helpfull..

Regards
Praveen.K

-----Original Message-----
From: Green, Simon [mailto:Simon.Green@EU.ALTRIA.COM]
Sent: 04 March 2004 15:45
To: aix-l@Princeton.EDU
Subject: Re: grep: 0652-226 Maximum line length of 2048 exceeded.

I think awk would do it: awk '/cookie_id/' log_file > output_file

Failing that, Perl. A bit more complicated but if you don't speak Perl
already it'd be a good excuse to get yourself on a course!

--
Simon Green
Altria ITSC Europe Ltd
AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.
> -----Original Message-----
> From: Kumar, Praveen (cahoot) [mailto:Praveen.Kumar@CAHOOT.COM]
> Sent: 04 March 2004 14:07
> To: aix-l@Princeton.EDU
> Subject: grep: 0652-226 Maximum line length of 2048 exceeded.
>
>
> Hi *,
>         I have Webserver logs on my system, when i try to search for a
> pattern (in my case it is cookie id) many a times i encounter
> this error
> saying "grep: 0652-226 Maximum line length of 2048 exceeded."
> and my dev
> team asks me to get the complete information from the file, i
> really dont
> know how to go about with this..do anyone of you have any
> workaround or a
> solution to this..
.sophos.3.79.03.04.
*********************
Internet communications are not necessarily secure and may be intercepted or
changed after they are sent.  cahoot does not accept liability for any such
changes.
If you wish to confirm the origin or content of this communication, please
contact the sender using an alternative means of communication.
This communication does not create or modify any contract.
This email may contain confidential information intended solely for use by
the addressee.  If you are not the intended recipient of this communication
you should destroy it without copying, disclosing or otherwise using its
contents.
Please notify the sender immediately of the error.
cahoot is a division of Abbey National plc.
Abbey National plc is registered in England, registered number 2294747.
Registered Office: Abbey National House, 2 Triton Square, Regent's Place,
London, NW1 3AN.


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:39 EDT