#!/usr/pkg/bin/bash # just for testing if this buffers line-mode or not printf "%s\r\n\r\n" "Content-Type: text/plain" echo "Wait a sec..." sleep 1 echo "Hold on..." sleep 2 echo "I haven't a clue."