Im trying to replace this text with this command but it doesn't work:
sed -e 's/\nnumber2/number2/g' fffff > fffff
This is what my file contains:
number1;gAMMA
number2;gat
number1;zilla
number2;dog
This is my expected output:
number1;gAMMAnumber2;gat
number1;zillanumber2;dog