#!/bin/sh
# This is a Borne shell script that removes #-type comments
# between 'begin' and 'end' words.
sed -n '
        1,100 {
                /begin/,/end/ {
                     s/#.*//
                     s/[ ^I]*$//
                     /^$/ d
                     p
                }
        }
'

AskApache Web Development