<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The UNIX and Linux Forums</title>
		<link>http://www.unix.com/</link>
		<description>UNIX and Linux Forums - Learn UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 02:30:11 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://linux.unix.com/images/misc/rss.jpg</url>
			<title>The UNIX and Linux Forums</title>
			<link>http://www.unix.com/</link>
		</image>
		<item>
			<title>Request to check:PHP website design help</title>
			<link>http://www.unix.com/programming/186789-request-check-php-website-design-help.html</link>
			<pubDate>Thu, 17 May 2012 02:17:41 GMT</pubDate>
			<description>Hi 
 
I have a website name www.gentrepid.org (http://www.gentrepid.org/) 
 
I have all the setting scripts for this website in php 
 
now as a research part, I am new to this as I havent done that before. 
 
I have to make certain changes in the website Include some icons on the left like</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I have a website name <a href="http://www.gentrepid.org/" target="_blank">www.gentrepid.org</a><br />
<br />
I have all the setting scripts for this website in php<br />
<br />
now as a research part, I am new to this as I havent done that before.<br />
<br />
I have to make certain changes in the website Include some icons on the left like <br />
<br />
&quot;Drugs&quot;   when user click on it then it shuld direct to search page and then it  suld go to a link which shuld move to diffferent website<br />
<br />
I have attached one sample of Php code which I have. can anybody guide  hw to proceed to make changes in the webpage.<br />
<br />
Thanks mani</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://linux.unix.com/images/attach/doc.gif" alt="File Type: doc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.unix.com/attachments/programming/2913d1337221035-request-check-php-website-design-help-script-php-print.doc">script php print.doc</a> (121.0 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.unix.com/programming/">Programming</category>
			<dc:creator>manigrover</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/programming/186789-request-check-php-website-design-help.html</guid>
		</item>
		<item>
			<title>looping through mysql select results in a shell script</title>
			<link>http://www.unix.com/shell-programming-scripting/186787-looping-through-mysql-select-results-shell-script.html</link>
			<pubDate>Thu, 17 May 2012 01:47:32 GMT</pubDate>
			<description><![CDATA[my query is like this 
 
 
 
Code: 
--------- 
  mysql -sN -e "select user_name, user_email, user_group from table name LIMIT 0, 10" | 
  while read user_name user_email user_group ; do 
 
 something]]></description>
			<content:encoded><![CDATA[<div>my query is like this<br />
<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->&nbsp; mysql -sN -e &quot;select user_name, user_email, user_group from table name LIMIT 0, 10&quot; |<br />
&nbsp; while read user_name user_email user_group ; do<br />
<br />
&nbsp;something<br />
<br />
<br />
&nbsp; done<!--ntend--></code><hr />
</div><br />
basically want to save the usernames and email to a group<br />
but the problem is if the email is empty, then <br />
the output is like<br />
username 2<br />
<br />
and then it thinks the email is 2<br />
when the email is actually blank<br />
<br />
<br />
<br />
<br />
so when i do read user_name user_email user_group<br />
and if the table is blank then the select returns<br />
user_name and user_group<br />
and then it thinks the email is the user_group<br />
<br />
if that makes sense<br />
<br />
do you know how to fix this?<br />
<br />
thanks!!</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>vanessafan99</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186787-looping-through-mysql-select-results-shell-script.html</guid>
		</item>
		<item>
			<title>tail from one and match it in the other file</title>
			<link>http://www.unix.com/unix-dummies-questions-answers/186785-tail-one-match-other-file.html</link>
			<pubDate>Thu, 17 May 2012 00:32:25 GMT</pubDate>
			<description>Can someone help me to do the following 
  
I have two files 
  
file one 
  
123456 
789012 
345678 
901234</description>
			<content:encoded><![CDATA[<div>Can someone help me to do the following<br />
 <br />
I have two files<br />
 <br />
file one<br />
 <br />
123456<br />
789012<br />
345678<br />
901234<br />
567890<br />
 <br />
file two<br />
 <br />
abcdef<br />
ghklmn<br />
opqrst<br />
901234<br />
567890<br />
uvwxyz<br />
123456<br />
 <br />
I would like to do tail on the last two lines from file one, <br />
match the string in file two and then delete all lines above matching string, and send output to file three.<br />
 <br />
File three should look<br />
 <br />
uvwxyz<br />
123456<br />
 <br />
My search is always based on the last two lines from file one, and that changes every day.<br />
 <br />
Thank you for your help.<br />
<br />
<font color="#738fbf"><font size="1">---------- Post updated at 07:32 PM ---------- Previous update was at 07:29 PM ----------</font></font><br />
<br />
And I forgot to mention, I searched forum and could not find any previos topics that could provide the solution to my issue.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/unix-dummies-questions-answers/"><![CDATA[UNIX for Dummies Questions & Answers]]></category>
			<dc:creator>genius_not</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/unix-dummies-questions-answers/186785-tail-one-match-other-file.html</guid>
		</item>
		<item>
			<title>Find a particular directory in multiple file systems and calculate total size</title>
			<link>http://www.unix.com/shell-programming-scripting/186781-find-particular-directory-multiple-file-systems-calculate-total-size.html</link>
			<pubDate>Wed, 16 May 2012 21:50:46 GMT</pubDate>
			<description><![CDATA[Hello : 
  
I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems. 
  
Some thing like this.. 
  
find /u*/app/oracle -type d -name "product" -prune 
  
and then...]]></description>
			<content:encoded><![CDATA[<div>Hello :<br />
 <br />
I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems.<br />
 <br />
Some thing like this..<br />
 <br />
find /u*/app/oracle -type d -name &quot;product&quot; -prune<br />
 <br />
and then iteratively report the size of the product directory per file system and report the total size for the directory in all file systems in the server.<br />
 <br />
Any help would be greatly appreciated. <br />
 <br />
Thanks in Advance.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>Sam1974</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186781-find-particular-directory-multiple-file-systems-calculate-total-size.html</guid>
		</item>
		<item>
			<title>Process not receiving certain signals</title>
			<link>http://www.unix.com/programming/186779-process-not-receiving-certain-signals.html</link>
			<pubDate>Wed, 16 May 2012 21:45:19 GMT</pubDate>
			<description><![CDATA[Hello all, 
At work I have a C++ Qt GUI that spawns child processes using QProcesses. We started noticing that these processes don't shut down correctly when sent SIGTERM. I did some tests with simple signal handlers and strace and found out that the child processes are not receiving SIGTERM,...]]></description>
			<content:encoded><![CDATA[<div>Hello all,<br />
At work I have a C++ Qt GUI that spawns child processes using QProcesses. We started noticing that these processes don't shut down correctly when sent SIGTERM. I did some tests with simple signal handlers and strace and found out that the child processes are not receiving SIGTERM, SIGINT, SIGHUP, and possibly more but do receive SIGKILL and SIGSEGV at least. Furthermore, the same executables run from a shell with the same arguments do receive these messages and work as expected.<br />
<br />
For a simpler test, I spawned an xterm window from the Qt GUI and one from a shell. The tcsh process attached to the xterm spawned from the GUI does not receive SIGHUP with the close button on the xterm is clicked and will only close with Ctrl-D or by typing exit. The tcsh attached to the xterm launched from the shell does receive SIGHUP and closes as expected.<br />
<br />
This is on RedHat 5.3.<br />
<br />
I'm at a loss as to what could be causing this problem. I'm not an expert at signals, but any pointers as to what could cause a process to just flat out not receive signals that are sent to it would be very helpful. I'm using kill to send these messages and I'm sure that I have permission to send them and have tried sending them as root as well as the owner of the process.<br />
<br />
Thanks in advance!</div>

]]></content:encoded>
			<category domain="http://www.unix.com/programming/">Programming</category>
			<dc:creator>sevorak</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/programming/186779-process-not-receiving-certain-signals.html</guid>
		</item>
		<item>
			<title>Solaris SYSLOG Help</title>
			<link>http://www.unix.com/solaris/186777-solaris-syslog-help.html</link>
			<pubDate>Wed, 16 May 2012 21:12:32 GMT</pubDate>
			<description><![CDATA[We have this Sun Solaris that we use for SYSLOG. Existing firewalls send warning level to this SYSLOG and it works great. We added a new firewall, I pointed the firewall to this SYSLOG server but nothing is being logged (windows KIWI works but not UNIX & I dont like KIWI). I am wondering what to do...]]></description>
			<content:encoded><![CDATA[<div>We have this Sun Solaris that we use for SYSLOG. Existing firewalls send warning level to this SYSLOG and it works great. We added a new firewall, I pointed the firewall to this SYSLOG server but nothing is being logged (windows KIWI works but not UNIX &amp; I dont like KIWI). I am wondering what to do to fix this issue.. not sure what to look for or do... I went to /etc/syslog.conf and added the top line local5. The others were already there.<br />
<br />
local5.debug /pix/dcpixlog<br />
local4.debug /pix/pixlog<br />
local3.debug /usr/log/cache/cachelog<br />
local2.debug /var/log/ras/raslog<br />
local1.debug /var/log/vpn/vpnlog<br />
<br />
I then to /pix and see pixlog but not dcpixlog. I used touch to create a 0 size dcpixlog &amp; tried restarting syslog but nothing gets logged. Can you please help?</div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris/">Solaris</category>
			<dc:creator>fjm1502</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris/186777-solaris-syslog-help.html</guid>
		</item>
		<item>
			<title>Script to report database home in unix</title>
			<link>http://www.unix.com/shell-programming-scripting/186775-script-report-database-home-unix.html</link>
			<pubDate>Wed, 16 May 2012 21:03:35 GMT</pubDate>
			<description><![CDATA[Hello: 
  
I am trying to build a ksh shell script which would summarize space occupied by "product" directory under /u*/app/oracle 
and summarize and report the total size occupied by it in one server. 
  
Environment is this... 
  
HP UNIX 11i 
  
Korn Shell]]></description>
			<content:encoded><![CDATA[<div>Hello:<br />
 <br />
I am trying to build a ksh shell script which would summarize space occupied by &quot;product&quot; directory under /u*/app/oracle<br />
and summarize and report the total size occupied by it in one server.<br />
 <br />
Environment is this...<br />
 <br />
HP UNIX 11i<br />
 <br />
Korn Shell<br />
 <br />
 <br />
some thing like <br />
/u402/app/oracle/product<br />
du -s /u402/app/oracle/product<br />
24991150 /u402/app/oracle/product - A <br />
/u12/app/oracle/product<br />
du -s /u12/app/oracle/product<br />
12975244 /u12/app/oracle/product - B <br />
/u25/app/oracle/product<br />
du -s /u25/app/oracle/product<br />
11699776 /u25/app/oracle/product - C<br />
 <br />
Total size in MB ==&gt; A+B+C <br />
Some thing like this.<br />
Regards,<br />
Sammy</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>Sam1974</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186775-script-report-database-home-unix.html</guid>
		</item>
		<item>
			<title>Moving multiple files based on the pattern</title>
			<link>http://www.unix.com/unix-advanced-expert-users/186773-moving-multiple-files-based-pattern.html</link>
			<pubDate>Wed, 16 May 2012 20:58:04 GMT</pubDate>
			<description>I want to search for a particular file name patterns and move them to a specific folder, is it possible to do it with awk or sed?</description>
			<content:encoded><![CDATA[<div>I want to search for a particular file name patterns and move them to a specific folder, is it possible to do it with awk or <acronym title="Stream Editor">sed</acronym>?</div>

]]></content:encoded>
			<category domain="http://www.unix.com/unix-advanced-expert-users/"><![CDATA[UNIX for Advanced & Expert Users]]></category>
			<dc:creator>rudoraj</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/unix-advanced-expert-users/186773-moving-multiple-files-based-pattern.html</guid>
		</item>
		<item>
			<title>Help needed in reading line value into variable</title>
			<link>http://www.unix.com/shell-programming-scripting/186771-help-needed-reading-line-value-into-variable.html</link>
			<pubDate>Wed, 16 May 2012 20:55:13 GMT</pubDate>
			<description>I have a file which has data in 8 lines: 
 
 
Code: 
--------- 
10 
34 
 6 
 1 
 4</description>
			<content:encoded><![CDATA[<div>I have a file which has data in 8 lines:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->10<br />
34<br />
&nbsp;6<br />
&nbsp;1<br />
&nbsp;4<br />
46<br />
67<br />
31<!--ntend--></code><hr />
</div>I am trying to read each value into each different variable so that I use these variables in preparing my report.<br />
<br />
Another option is to dynamically print each line values in the report like below:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->users with privA: line 1 value<br />
users with privB: line 2 value<br />
users with privC: line 3 value<br />
users with privD: line 4 value<br />
users with privE: line 5 value<br />
users with privF: line 6 value<br />
users with privG: line 7 value<br />
users with privH: line 8 value<!--ntend--></code><hr />
</div>Please help me out with the correct command<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>sarat949</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186771-help-needed-reading-line-value-into-variable.html</guid>
		</item>
		<item>
			<title>Intel vs Dlink NIC Gigabyte price point difference</title>
			<link>http://www.unix.com/hardware/186769-intel-vs-dlink-nic-gigabyte-price-point-difference.html</link>
			<pubDate>Wed, 16 May 2012 19:51:57 GMT</pubDate>
			<description>Hi, 
 
I wondering about intel and dlink gigabyte desktop nic  card price point, May i ask if someone know the difference between the two gigabyte nic card, I found at my local electronic store that theres a price difference between the two the intel is double the price of the dlink although the...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I wondering about intel and dlink gigabyte desktop nic  card price point, May i ask if someone know the difference between the two gigabyte nic card, I found at my local electronic store that theres a price difference between the two the intel is double the price of the dlink although the are the same gigabyte nic card. How about the features, Im referring the PCI express x4.maybe network performance,brand name or speed, i had no clue for now..<br />
<br />
Hope someone knows some related info..<br />
<br />
Thanks in advance..</div>

]]></content:encoded>
			<category domain="http://www.unix.com/hardware/">Hardware</category>
			<dc:creator>jao_madn</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/hardware/186769-intel-vs-dlink-nic-gigabyte-price-point-difference.html</guid>
		</item>
		<item>
			<title>Trying to extract domain and tld from list of urls.</title>
			<link>http://www.unix.com/shell-programming-scripting/186767-trying-extract-domain-tld-list-urls.html</link>
			<pubDate>Wed, 16 May 2012 19:23:52 GMT</pubDate>
			<description>I have done a fair amount of searching the threads, but I have not been able to cobble together a solution to my challenge.  What I am trying to do is to line edit a file that will leave behind only the domain and tld of a long list of urls.   The list looks something like this: 
 
Code: 
---------...</description>
			<content:encoded><![CDATA[<div>I have done a fair amount of searching the threads, but I have not been able to cobble together a solution to my challenge.  What I am trying to do is to line edit a file that will leave behind only the domain and tld of a long list of urls.   The list looks something like this:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->www.google.com<br />
ja.wikipedia.org<br />
bbc.co.uk<br />
fr-fr.facebook.com<!--ntend--></code><hr />
</div>and I would like to end up with:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->google.com<br />
wikipedia.org<br />
bbc.co.uk<br />
facebook.com<!--ntend--></code><hr />
</div>I prefer bash, but am learning ruby and <acronym title="Practical Extraction and Report Language">perl</acronym>....though not very good at them yet.  I have used ruby's URI function to extract the input links above...is there another ruby function I am overlooking for domain.tld?<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>chamb1</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186767-trying-extract-domain-tld-list-urls.html</guid>
		</item>
		<item>
			<title>top 10 highest and lowest percentile from a column</title>
			<link>http://www.unix.com/shell-programming-scripting/186765-top-10-highest-lowest-percentile-column.html</link>
			<pubDate>Wed, 16 May 2012 19:05:44 GMT</pubDate>
			<description>Hi, I want to extract the the top 10 and lowest 10 percentile for a column of values. 
 
For example in column 2 for this file: 
 
 
Code: 
--------- 
JOE   1  
JAY   5 
JAM   6</description>
			<content:encoded><![CDATA[<div>Hi, I want to extract the the top 10 and lowest 10 percentile for a column of values.<br />
<br />
For example in column 2 for this file:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->JOE&nbsp;  1 <br />
JAY&nbsp;  5<br />
JAM&nbsp;  6<br />
JIL&nbsp;  8<br />
JIB&nbsp;  4<br />
JIH&nbsp;  3<br />
JIG&nbsp;  2<br />
JIT&nbsp;  7<br />
JAM&nbsp;  9<br />
MAR&nbsp;  10<!--ntend--></code><hr />
</div>The top 10 lowest will be:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->JOE&nbsp;  1<!--ntend--></code><hr />
</div>and the top 10 highest will be:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->MAR 10<!--ntend--></code><hr />
</div>If there is a quick way of doing this then it would be great<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>kylle345</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186765-top-10-highest-lowest-percentile-column.html</guid>
		</item>
		<item>
			<title>PHP exec to restart mysqld</title>
			<link>http://www.unix.com/programming/186763-php-exec-restart-mysqld.html</link>
			<pubDate>Wed, 16 May 2012 18:40:35 GMT</pubDate>
			<description><![CDATA[I want to do something very very bad. I want to create a button that restarts mysqld. Why is irrelevant for my issue. 
 
Here is my php script ... 
 
Code: 
--------- 
<?php 
if(isset($_POST['restart'])){ 
       	exec("sudo /etc/init.d/mysqld restart");         
}]]></description>
			<content:encoded><![CDATA[<div>I want to do something very very bad. I want to create a button that restarts mysqld. Why is irrelevant for my issue.<br />
<br />
Here is my php script ...<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->&lt;?php<br />
if(isset($_POST['restart'])){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  exec(&quot;sudo /etc/init.d/mysqld restart&quot;);&nbsp; &nbsp; &nbsp; &nbsp; <br />
}<br />
?&gt;<br />
&lt;form method=&quot;POST&quot;&gt;<br />
&lt;input type=&quot;submit&quot; name=&quot;restart&quot; value=&quot;restart&quot;&gt;<br />
&lt;/form&gt;<!--ntend--></code><hr />
</div>On any old server this usually can work. But on my locked down amazon ec2 server it doesn't. I tried putting this in the sudoers file but the button still doesn't restart mysqld.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->Cmnd_Alias RESTART_APACHE = /etc/init.d/httpd restart<br />
apache ALL =NOPASSWD: RESTART_APACHE<br />
<br />
Cmnd_Alias RESTART_MYSQL = /etc/init.d/mysqld restart<br />
apache ALL =NOPASSWD: RESTART_MYSQL<!--ntend--></code><hr />
</div>I'm stumped, at wits end, maybe someone here knows the solution ?</div>

]]></content:encoded>
			<category domain="http://www.unix.com/programming/">Programming</category>
			<dc:creator>noPermissions</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/programming/186763-php-exec-restart-mysqld.html</guid>
		</item>
		<item>
			<title>average each column in a file</title>
			<link>http://www.unix.com/shell-programming-scripting/186761-average-each-column-file.html</link>
			<pubDate>Wed, 16 May 2012 18:26:35 GMT</pubDate>
			<description>Hi, I tried to do this in excel but there is a limit to how many rows it can handle. 
 
All I need to do is average each column in a file and get the final value. 
 
My file looks something like this (obviously a lot larger): 
 
 
Code: 
--------- 
Joe HHR + 1 2 3 4 5 6 7 8</description>
			<content:encoded><![CDATA[<div>Hi, I tried to do this in excel but there is a limit to how many rows it can handle.<br />
<br />
All I need to do is average each column in a file and get the final value.<br />
<br />
My file looks something like this (obviously a lot larger):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->Joe HHR + 1 2 3 4 5 6 7 8<br />
Jor HHR - 1 2 3 4 5 6 7 8<!--ntend--></code><hr />
</div>the output would be (average values only):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><!--ntstart-->1 2 3 4 5 6 7 8<!--ntend--></code><hr />
</div>Thanks</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>kylle345</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/186761-average-each-column-file.html</guid>
		</item>
		<item>
			<title>limiting size of rsync batch output</title>
			<link>http://www.unix.com/unix-advanced-expert-users/186753-limiting-size-rsync-batch-output.html</link>
			<pubDate>Wed, 16 May 2012 17:20:55 GMT</pubDate>
			<description><![CDATA[Anyone know if there's a way to limit the size of rsync batch output blob?  I need each batch to fix on a 64GB USB key.  
 
Using syntax like: 
 
rsync -av --only-write-batch=/Volumes/usb/batch --stats /Users/dfbadmin/sandbox/ /Users/dfbadmin/archives/]]></description>
			<content:encoded><![CDATA[<div>Anyone know if there's a way to limit the size of rsync batch output blob?  I need each batch to fix on a 64GB USB key. <br />
<br />
Using syntax like:<br />
<br />
rsync -av --only-write-batch=/Volumes/usb/batch --stats /Users/dfbadmin/sandbox/ /Users/dfbadmin/archives/</div>

]]></content:encoded>
			<category domain="http://www.unix.com/unix-advanced-expert-users/"><![CDATA[UNIX for Advanced & Expert Users]]></category>
			<dc:creator>dfbills</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/unix-advanced-expert-users/186753-limiting-size-rsync-batch-output.html</guid>
		</item>
	</channel>
</rss>

