hcu
Advanced Member level 4
how to write some common lines into a multiple files in a directory ?
Hello,
I have about 110 source files, each file vary in size and vary in number of lines inside.
for some reason, i want to write " some two Lines " exactly at the starting of each file content.
and a "one more line" exactly at the end of each file.
i.e the first two lines for every file should be
line 1 // pragma protect
line 2 //pragma protect begin
<file content>
last line //pragma protect end.
I want to automate this, plz somebody help me.
regards,
Hello,
I have about 110 source files, each file vary in size and vary in number of lines inside.
for some reason, i want to write " some two Lines " exactly at the starting of each file content.
and a "one more line" exactly at the end of each file.
i.e the first two lines for every file should be
line 1 // pragma protect
line 2 //pragma protect begin
<file content>
last line //pragma protect end.
I want to automate this, plz somebody help me.
regards,