EnderUNIX tipsMail to My Friend , Home Page
[ Shell Scripting ]
"Inserting lines within scripts - 2" - Ülkü SAYILAN - (2004-08-23 11:57:22) 
If you want to insert a line at the top (or anywhere for that matter) of a file within a shell script, use the ed editor.
ed << EOF
Mail to My Friend , Home Page