#!/bin/ksh
echo 'Content-type: text/html'
echo
echo ''
echo '
'
echo 'Environment Variables'
echo ''
echo ''
echo 'Environment Variables
'
echo Here are all the environment variables that the web server
echo passed to the gateway.
echo '' #ordered list: Handout 3, p. 10, lines 89-94
env |
grep '=' |
sort -df | #dictionary order, fold: Handout 1, p. 3, line 46
sed '
s/&/\&/g
s/\</g
s/>/\>/g
s:.*:- &
:
'
echo '
'
echo ''
echo ''