  ayy3
@btcentralplus.com
| help in writing a borne shell script
Hi everyone,
Kindly assist in providing solution to this script.
Create a file with x amount of lines in it.
script 1 Write a script that takes two arguments. The first being a line of text, the second being your newly created file. The script should take the first argument and insert it into the very top (the first line) of the named in your second argument. Note: The file must retain the original name
2)Take a copy and amend the above script so that it now inserts the first argument into the middle of the file. |