Adding HTML Tags to a text file
540301May 21 2010 — edited May 22 2010Hi Gurus,
I need to create a text file to html file and I dont have text2html utility on Linux 5.3 host so doing the stuff manually. I need to add the <STR> at the begining of every line and </STR> at the end of every line.
I tried the following and it did not work
"cat myfile.txt |s/.*/<STR>&</STR>/g > myfile.html"
Please help to get it working...
Regards
-Samar-