<HTML><HEAD><META content="text/html; charset=x-user-defined" http-equiv="Content-Type"><style type="text/css"><!--.MailHeader { font-family: "Arial"; font-size: 8pt; color: #000000; font-style: normal; font-weight: normal; text-decoration: none; }//--></style></HEAD><BODY><meta http-equiv="Content-Type" content="text/html; charset=x-user-defined" ><STYLE TYPE="text/css">
<!--.MailHeader { font-family: "Arial"; font-size: 8pt; color: #000000; font-style: normal; font-weight: normal; text-decoration: none; }//--></STYLE>
<meta http-equiv="Content-Type" content="text/html; charset=x-user-defined" ><STYLE TYPE="text/css">
<!--.MailHeader { font-family: "Arial"; font-size: 8pt; color: #000000; font-style: normal; font-weight: normal; text-decoration: none; }//--></STYLE>Dear All<br ><br >My Query is as follows:<br ><br >I have extracted the output and details of mail users mail inbox size with file path name. <br ><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 ><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 "<strong>cat"<br ></strong><br >(e.g.) <strong>cat</strong> <strong>mailstorage.txt</strong> (source file containing all users mail inbox size information) <strong>|awk -F ' ' '{print...... >></strong> <strong>gboutput.txt</strong> (target file to paste the final output) similar to this.<br ><br >can anyone help me in scripting the required full script to achieve the desired result.?<br ><br >Many more thanks in advance.<br ><br >with kind regards<br >s.mahalingam<br ><br >S.Mahalingam<br >Bioinformatics Centre<br >Centre for Cellular and Molecular Biology<br >Habsiguda, Uppal Road, Hyderabad 500 007<br ><br >Ph:+91-40-27192773, 27192774<br >+91-40-27160222 - 41 (20 Lines)<br >Ext: 2773, 2774<br >Fax: :+91-40-27160591, 27160311<br ><br >E-mail:<br >smal@ccmb.res.in<br >smal8@yahoo.com<br ><br >http://www.ccmb.res.in<br ></BODY></HTML>