insert text into a dinamic file

I need help, It's probably a joke for you, but I'm about to explode:
This is it:
I have a file which is created by batch, and includes a list of db files (with the complete path).
I want to use this list for a graph file - in order to exclude it from the daily backup. it means i need to add an "e" before each line.

Thank you!!!
:confused: :eek: :slight_smile:

Hmmm...I thought I saw a reply to this question but now it's gone?? Oh well...easy come, easy go I guess.

The reply was pretty good. But I recognize "graph file" in this context to be an fbackup question and rather than an "e" you actually need a "e ".

So I would do:

sed 's/^/e /' < inputfile > outputfile

Thank you,
I finaly found the answer myself - I used the awk and printer '{print "e " $1}' to file. It workes preety good.
Thank you for your answer! Sunbird
:slight_smile: