Listing 5: Korn shell inside of HTML
<? mesg="Hello, World!" ?>
<HTML>
<!-- example of Korn Shell -->
<HEAD><TITLE>Sample HTML Test File</TITLE></HEAD>
<BODY>
<CENTER>
<?
for i in 1 2 3 4 5 6
do
echo "<h${i}> $mesg </h${i}>"
done
?>
</CENTER>
</BODY>
</HTML>
|