1#!/bin/bash
2
3printf "Content-Type: text/plain\r\n"
4printf "\r\n"
5
6echo "This is a shell script called by CGI"
7
8for ((number=1;number < 5000;number++))
9{
10echo "Write $number to stdout"
11echo "Write $number to stderr" 1>&2
12}
13
14echo "done"
15
16
17