Hi all,
I want to append some 20 statements into a file. I'm doing now in ksh script as,
echo �Statement1" >> filename
..........................................
.........................................
echo "statement20" >> filename
I guess that above code will open, write & close file for 20 times.
Pls suggest me to do it in single open, write & close? Correct me if I'm wrong here.