[ale] Sed/Awk/PERL question

Jim Kinney jim.kinney at gmail.com
Tue Dec 1 14:40:00 EST 2009


sed -i 's/;$//' filename

On Tue, Dec 1, 2009 at 10:10 AM, Bob Kruger <bkruger at mindspring.com> wrote:

> All;
>
> I have a 1.3GB text file that has multiple fields separated by semicolons.
>  Format follows:
>
> field1;field2;field3;...field24;
> .
> .
> .
> field1;field2;field3;...field24;
>
> I need a quick and dirty method to delete the last semicolon.
>
> Any ideas or thoughts?
>
> Thanks in advance for any assistance.
>
> V/r
>
> Bob
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
-- 
James P. Kinney III
Actively in pursuit of Life, Liberty and Happiness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20091201/01918893/attachment.html 


More information about the Ale mailing list