Skip to content

Instantly share code, notes, and snippets.

@ino46
Created July 21, 2010 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ino46/484067 to your computer and use it in GitHub Desktop.
Save ino46/484067 to your computer and use it in GitHub Desktop.
ヒアドキュメントな標準入力を vi で編集
#!/bin/sh
# ヒアドキュメントな標準入力を vi で編集
{
cat << EOS
<html>
<head>
<title></title>
</head>
<body>
<h1></h1>
<p></p>
</body>
</html>
EOS
} | vi -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment