diff --git a/hello .rb b/hello .rb deleted file mode 100644 index 61dffd0..0000000 --- a/hello .rb +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env ruby -require 'cgi' - -c = CGI.new -name = c["onamae"] - -print "Content-type: text/html; charset=utf-8\n\n" # お約束 - -print(< - -Hello!!! - -
-

あなたの名前:

-

-

-
-

こんにちは#{name}さん!!

- -EOF diff --git a/hello.rb b/hello.rb new file mode 100644 index 0000000..61dffd0 --- /dev/null +++ b/hello.rb @@ -0,0 +1,21 @@ +#!/usr/bin/env ruby +require 'cgi' + +c = CGI.new +name = c["onamae"] + +print "Content-type: text/html; charset=utf-8\n\n" # お約束 + +print(< + +Hello!!! + +
+

あなたの名前:

+

+

+
+

こんにちは#{name}さん!!

+ +EOF