sed -i 's/;$//' filename<br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 10:10 AM, Bob Kruger <span dir="ltr"><<a href="mailto:bkruger@mindspring.com">bkruger@mindspring.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All;<br>
<br>
I have a 1.3GB text file that has multiple fields separated by semicolons. Format follows:<br>
<br>
field1;field2;field3;...field24;<br>
.<br>
.<br>
.<br>
field1;field2;field3;...field24;<br>
<br>
I need a quick and dirty method to delete the last semicolon.<br>
<br>
Any ideas or thoughts?<br>
<br>
Thanks in advance for any assistance.<br>
<br>
V/r<br>
<br>
Bob<br>
<br>
<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br><br>