我想在 shell 脚本中包含一些 HTML。这是我尝试过的:
(
echo "<html>
<head>
<title>HTML E-mail</title>
</head>
<body>
<p style="font-family:verdana;color:red;">
This text is in Verdana and red</p>
</body>
</html>"
)>pkll.htm
但是,它没有将 HTML 写入文件,而是给了我一些错误:
> bash: color:red: command not found bash: > This text is in Verdana and
> red</p </body> </html>: No such file or directory
我怎样才能做到这一点?