in reply to need help:insert a line in a textfile
perl -pi -e '$. == 1 and print $/' textfile [download]
_________broquaint