Replacing specific lines with another lines

view full story

http://www.unix.com – Hi, I have a file with many lines, then i have following list of lines(line number 5,12,19,5,and 28) i need to replace these lines of a file with another lines as shown below these text contains special charecter like= (/:;){}[] Code: Line_number  Text to replace with 5                  abc xyg ;, : def 12                replace with this ;, : def 19                test abc io ; /kjlkj; 5                  th (HowTos)