Substitute multiple lines using sed
echo -e "1\n2\n3"
substitute lines one and two with the word "hello"
echo -e "1\n2\n3" | sed -e '/1/,/2/c hello'
 Considerare di eseguire una ricerca su tutto il testo con i termini di ricerca.
 Considerare di eseguire una ricerca su tutto il testo con i termini di ricerca.
echo -e "1\n2\n3"
substitute lines one and two with the word "hello"
echo -e "1\n2\n3" | sed -e '/1/,/2/c hello'