Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adding HTML Tags to a text file

540301May 21 2010 — edited May 22 2010
Hi 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-
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2010
Added on May 21 2010
2 comments
1,488 views