#!/bin/csh
# kedg - global string substitution in a given file
# syntax: kedg string1 string2 filename
#
ed $3 <<!
1,\$s/$1/$2/g
w
!
