#!/bin/bash ulimit -v 10240 # Read and ignore the request line=foo while [ -n "$line" ]; do read line line=${line%[:blank:]} line=${line% } done # Generate an HTTP reply echo "HTTP/1.0 200 OK " echo "Content-type: text/html " echo " " echo "
The following table shows a list of the servers that are currently handling web requests for scripts.mit.edu:
" } /->/ { print " |
" $2, $4, $5, $6 " |