test.sh - randomcrap - random crap programs of varying quality
HTML git clone git://git.codemadness.org/randomcrap
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
test.sh (212B)
---
1 #!/bin/sh
2 printf 'HTTP/1.0 200 OK\r\n'
3 printf 'Date: %s\r\n' "$(TZ=UTC date -R)"
4 printf 'Connection: close\r\n'
5 printf 'Content-Type: %s\r\n' "text/plain"
6 printf '\r\n'
7 echo "The date time is: $(TZ=UTC date -R)"