シェル スクリプトに 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
これどうやってするの?