I don't have the answer to that but I'd like to know it also....<br>even the C++ solution<br><br>mike<br><br><br><div><span class="gmail_quote">On 9/19/06, <b class="gmail_sendername">Eric O'Neal</b> &lt;<a href="mailto:fyedernoggersnodden@gmail.com">
fyedernoggersnodden@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Yo;<br><br>I have a series of comma-delimited text files with fourteen columns of data and several rows.&nbsp; I want to use a short shell script to strip them of the last 9 columns, leaving the same file but with just five of its columns.&nbsp; I can do it in C++, but that seems like overkill.&nbsp; How would I go about doing it with sed or a similar utility?
<br><br>SigmaX<br clear="all"></div><div><span class="sg"><br>-- <br>My home page:&nbsp;&nbsp;<a href="http://www.SigmaX.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.SigmaX.org</a><br><br>
&quot;ttocs laeno cire oshkosh b'gosh fyedernoggersnodden nicht stein bon probiscus&quot;<br><br>&quot;Education is what remains after one has forgotten everything he learned in school&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- Albert Einstein

</span></div><br>--<br>Ubuntu-us-chicago mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Ubuntu-us-chicago@lists.ubuntu.com">Ubuntu-us-chicago@lists.ubuntu.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-chicago" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-chicago</a><br><br><br></blockquote></div><br>