If the documentation is telling you to use bash, then do so.
bash is a superset of sh.
sh is installed on *all* UNIX boxes, bash is only on some. So if you use sh and limit yourself to features sh supports then your script can run on more platforms.
Cool. Ryte to make it easy for myself iv changed the content of my filex to just 10 line of plain and simple text. Now from what i understand the script (firstline) should take the first argument and insert it into the very top (the first line) of the file named in your second argument. The file must reatin its original name too. Any Ideas...
sorry correction - I have gotta rite a script named 'firstline' 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 file named in your second argument.