<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: shell script</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>You may need this<BR>
cat "object" | (e)grep "occurrence" | <A HREF="http://www.vectorsite.net/tsawk.html">http://www.vectorsite.net/tsawk.html</A><BR>
<BR>
<BR>
-----Original Message-----<BR>
From: redhat-sysadmin-list-bounces@redhat.com on behalf of Mahalingam Subramaniam<BR>
Sent: Tue 7/17/2007 3:49 PM<BR>
To: redhat-sysadmin-list@redhat.com<BR>
Cc: rhn-users@redhat.com<BR>
Subject: shell script<BR>
<BR>
<BR>
Dear All<BR>
My Query is as follows:<BR>
I have extracted the output and details of mail users mail inbox size with file path name.<BR>
140K /abcde/fghij/w001/wesley<BR>
26M /mnopq/rstuvwx/w001/wilson<BR>
1G /mnopq/rstuvwx/w001/alok<BR>
2G /mnopq/rstuvwx/w001/john<BR>
Here, I want to extract and paste the output of only users whose inbox size is 1GB or more than 1GB using shell script "cat"<BR>
(e.g.) cat mailstorage.txt (source file containing all users mail inbox size information) |awk -F ' ' '{print...... >> gboutput.txt (target file to paste the final output) similar to this.<BR>
can anyone help me in scripting the required full script to achieve the desired result.?<BR>
Many more thanks in advance.<BR>
with kind regards<BR>
s.mahalingam<BR>
S.Mahalingam<BR>
Bioinformatics Centre<BR>
Centre for Cellular and Molecular Biology<BR>
Habsiguda, Uppal Road, Hyderabad 500 007<BR>
Ph:+91-40-27192773, 27192774<BR>
+91-40-27160222 - 41 (20 Lines)<BR>
Ext: 2773, 2774<BR>
Fax: :+91-40-27160591, 27160311<BR>
E-mail:<BR>
smal@ccmb.res.in<BR>
smal8@yahoo.com<BR>
<A HREF="http://www.ccmb.res.in">http://www.ccmb.res.in</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>