#!/bin/sh echo Content-type: text/html echo if [ $# = 0 ]; then cat < World Wide SQRT Server

Compute square root

Give number ! else in=$1 if [ $in -lt 0. ] then cat < World Wide SQRT Server Who are you kidding ? ! exit else cat < World Wide SQRT Server ! echo $in | awk '{printf("The sqrt of %.4f is %.4f\n",$1,sqrt($1))}' cat < ! fi fi