These are the steps i am following.`sed 's/[;]+$//g'`also  sed 's/;{1,\}$//g'
How do i remove all occurences of semicolon from the end of all lines?
sed
In basic regular expression you have to escape the + quantifier:sed 's/;\+$//' fileOr use extended regular expression (if your sed supports them; GNU sed does):sed -r 's/;+$//' file