HTML Generator
Created Tuesday 07 April 2020
#!/bin/bash echo "Welcome to the generator!" echo "name of page? (html suffix will be added)" read fninput fn="${fninput}.html" echo "Title?" read title echo "Headline?" read headline echo "Body of text?" read body echo "BACKGROUND COLOR? oooooh" read color cat << EOF | tee "$fn" <html> <head> <title> $title </title> <style> body {background-color: $color;} </style> </head> <body> <h1> $headline </h1> $body </body> </html EOF
Backlinks: FSU Courses:LIS5364