< Previous | Contents | Next >
Second Stage: Adding A Little Data
Now that our program can generate a minimal document, let’s put some data in the re- port. To do this, we will make the following changes:
#!/bin/bash
# Program to output a system information page echo "<HTML>
<HEAD>
<TITLE>System Information Report</TITLE>
#!/bin/bash
# Program to output a system information page echo "<HTML>
<HEAD>
<TITLE>System Information Report</TITLE>
</HEAD>
<BODY>
<H1>System Information Report</H1>
</BODY>
</HTML>"
</HEAD>
<BODY>
<H1>System Information Report</H1>
</BODY>
</HTML>"
We added a page title and a heading to the body of the report.