#! /bin/bash

sed -e "s/$1/$2/g" newpix.sql > replaced.tmp ; 
mv -f replaced.tmp newpix.sql ;
