# HG changeset patch # User MURAKAMI Masaki # Date 1406266613 -32400 # Node ID c02da18b51e316c8ac5cc7425b848b9053c6738f # Parent 79cbef12b16afb9dc96bbb0659bf026c4a95c2be Update diff -r 79cbef12b16a -r c02da18b51e3 minato2014/env.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/minato2014/env.rb Fri Jul 25 14:36:53 2014 +0900 @@ -0,0 +1,23 @@ +#!/usr/bin/env ruby +#coding:euc-jp + + + +print "Content-type: text/html\n\n" +print " + + 環境変数一覧 + + + + " + +ENV.each { |k,v| +# v = v.gsub(/\w/, "*") #サンプルのため非表示(この行を削除してください) + print "\n" +} + +print"
環境変数一覧
#{k}#{v}
+ + " +