#!/bin/sh IFS=' ' rm /tmp/req while read a;do if [ -z `echo $a|tr -d '\r'` ]; then break else echo "$a" >> /tmp/req fi done echo HTTP/1.0 200 OK echo Connection: close echo Content-Type: text/html echo Server: myserver123 echo echo "