[ale] Sed/Awk/PERL question
Bob Kruger
bkruger at mindspring.com
Tue Dec 1 10:25:31 EST 2009
Robert/JK/et al
Many thanks. Does the job nicely.
V/r
Bob
-----Original Message-----
>From: JK <jknapka at kneuro.net>
>Sent: Dec 1, 2009 10:20 AM
>To: Bob Kruger <bkruger at mindspring.com>, Atlanta Linux Enthusiasts - Yes! We run Linux! <ale at ale.org>
>Subject: Re: [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
>>
>>
>
More information about the Ale
mailing list