A shell script template engine for generating HTML markup
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
$ #!/bin/sh |
|
<!doctype html> |
|
<html> |
|
<head><title>Restaurants</title></head> |
|
<body> |
|
<ul> |
|
$ while read restaurant; do |
|
<li><% $restaurant %></li> |
|
$ done <restaurants.txt |
|
</ul> |
|
</body> |
|
</html>
|
|
|