[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Sed/Awk/PERL question
cp yourGiantFile backupInCaseJKsIdeaTotallySucks
sed -e 's/;$//' < yourGiantFile > newFile
-- JK
Bob Kruger 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
>
>