#!/bin/sh
sed '
/WORD/ a\
Add this line after every line with WORD
'

AskApache Web Development