Delete a line last caracter

Hello dears,

I have a CVS file in wich a have many lines. each line is ended by this two caracters ';;'. I want to get a new format of this file by deleting this caracters which unix shell script

eg. of input file:

a;b;c;d;;
a;b;c;;
a;b;;
a;b;c;d;e;;

That means each line lenght can be variable.!!!!

Thanks for your help.

Lota.

sed 's/;;$//' myFile

Thkx . It's OK