Sep 14, 2007

SED notes

Replace in sed
sed -e '/pattern/{
s/old1/new1/g
s/old2/new2/g
}' < source_file > destination_file

No comments: