I have a script file which I need to modify with another script to insert a text at the 8th line.
String to insert: Project_Name=sowstest, into a file c
Project_Name=sowstest
For those who are on SunOS which is non-GNU, the following code will help:
sed '1i\^J line to add' test.dat > tmp.dat