http://ofbiz.116.s1.nabble.com/Users-Searching-the-user-acrchives-tp138858p138861.html
>Charles,
>
>That's quite a cool little trick!
>
>One to add to my sbin :-)
>
>
>On Wed, 2006-05-03 at 23:42 +0100, Charles Johnson wrote:
>
>
>>Chris Medinger wrote:
>>
>>
>>
>>>I'm sure there must be some tool out there that makes
>>>searching all of
>>>the list archives easy... I've downloaded the gzips
>>>and tried to append
>>>them all into one file, with the intention of doing
>>>searches in jedit.
>>>But jedit can't by default handle that big of a file
>>>(maybe if I changed
>>>some of the heap settings etc., but I'm not a
>>>programmer). So I keep
>>>thinking, "there must be an easy way to do this,
>>>because it's too hard,
>>>yet the archives in their current form persist." Can
>>>anyone tell me
>>>what I'm missing?
>>>
>>>Much appreciated.
>>>
>>>--ChrisM
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam? Yahoo! Mail has the best spam protection around
>>>
http://mail.yahoo.com
>>>
>>>_______________________________________________
>>>Users mailing list
>>>
[hidden email]
>>>
http://lists.ofbiz.org/mailman/listinfo/users>>>
>>>
>>>
>>>
>>>
>>>
>>Given a Unix system, a holding directory for all the archives identified
>>by enviroment variable 'USERS' you could do a crude search for string
>>"SegmentGroup" thus:
>>
>>for f in $(find $USERS -name "*.gz" ); do zgrep "SegmentGroup" $f &&
>>echo "found in $f"; done
>>
>>
>>Giving me the following:
>>
>>SegmentGroupViewRelatedPartiesClass named in Entity Group with name
>>
>>
>>>SegmentGroupViewRelatedPartiesClass named in Entity Group with name
>>>SegmentGroupViewRelatedPartiesClass named in Entity Group with name
>>>
>>>
>>As for the SegmentGroupViewRelatedPartiesClass issue,
>>SegmentGroupViewRelatedPartiesClass named in Entity Group with name
>>
>>
>>>As for the SegmentGroupViewRelatedPartiesClass issue,
>>>SegmentGroupViewRelatedPartiesClass named in Entity Group with name
>>>
>>>
>>found in
>>C:/ofbiz-docs/mail-archives/lists.ofbiz.org/pipermail/users/2005-August.txt.gz
>>
>>That means i can now unzip 2005-August.txt.gz and look into it further
>>
>>CJ
>>
>>
>>_______________________________________________
>>Users mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/users>>
>>
for f in $(find $USERS -name "*.gz" ); do zgrep -n -B 3 -A 3 "SegmentGroup" $f && echo "found in $f"; done