Re: how to write some common lines into a multiple files in a directory ?
Hi,
One thing is, i want to keep my file name (i.e target file) name should be same as my original file name.
here the problem is , the data in the file is lost.
so, to avoid that
cat file_footer my_design.v file_header > ./folder/mydesign.v .
my questions are :
1.Is there anything better/efficiently i can do here otherthan above ?
2. as i said , i have 100's of files, 100 cat command lines are to be written . Any effiently way of doing this ??
thans in advance