diff --git a/bash/bash.sh b/bash/bash.sh index 3cd8749..31f4aa0 100755 --- a/bash/bash.sh +++ b/bash/bash.sh @@ -2,6 +2,8 @@ permalink: /cgi/bash/index.sh --- +echo "Content-type: text/plain" +echo echo "Hello from bash!" echo echo 'date' diff --git a/perl/perl.pl b/perl/perl.pl index 9f7545a..1ed32ff 100755 --- a/perl/perl.pl +++ b/perl/perl.pl @@ -8,6 +8,7 @@ use POSIX qw(strftime); my $date = strftime "%m/%d/%Y", localtime; +print("Content-type: text/plain\n\n"); print "Hello from Perl!\n\n"; print $date; print "\n\n"; diff --git a/python/python.py b/python/python.py index 917ffe6..f57a305 100755 --- a/python/python.py +++ b/python/python.py @@ -3,8 +3,11 @@ permalink: /cgi/python/index.py --- from datetime import datetime +#from http import HTTPStatus from pprint import pprint +print("Content-type: text/plain\n") +#print(HTTPStatus.OK.value) print("Hello from Python!") print("") print('print(datetime.today().strftime("%Y-%m-%d"))') diff --git a/ruby/ruby.rb b/ruby/ruby.rb index 30f1e6d..5472daf 100755 --- a/ruby/ruby.rb +++ b/ruby/ruby.rb @@ -2,6 +2,8 @@ permalink: /cgi/ruby/index.rb --- +puts('Content-type: text/plain') +puts puts('Hello from Ruby!') puts puts('puts(Time.now.strftime("%d/%m/%Y %H:%M"))')