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!

Calling HTML File in Shell Script.

Prasanth SAug 14 2009 — edited Aug 17 2009
Hi


I have a shell script and a HTML file.

HTML file is to create a Table.
the HTML Script is as follows

<html>
<body>
<table border="1">
<tr>
<td>Requisition Number</td><td>$PARAM0</td>
</tr>
<tr>
<td>Purcahse Order Number</td><td>$PARAM4</td>
</tr>
<tr>
<td>Purchase Line Number</td><td>$PARAM5</td>
</tr>
<tr>
<td>Hold Reason</td><td>$PARAM3</td>
</tr>
<tr>
<td>Hold Date</td><td>$PARAM2</td>
</tr>
</table>
</body>
</html>


The output of this HTML file is a table with 5 rows and 2 columns.
I saved this file as mail.html and placed it in the server where i have placed the Shell Script.

When i call this HTML in Shell Script ... as follow

cat /FND_TOP/bin/mail.html

the output is not the table but infact the html tags are displayed.

I need the table when i run this shell script.

It would be of great help if anyone has a good solution for this.


Thanks in Advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2009
Added on Aug 14 2009
4 comments
4,121 views