Adding lines of text to beginning of a text file
Hi folks,
I need to insert 3-4 lines of text to the beginning of a text file. The file is a largish MYSQL dump, the result of a backup shell script. This shell script should insert the required text.
I've wrestled with sed, but lost ... Any ideas would be much appreciated, cheers.
|