#! /bin/bash # sed call to strip out noparam4 and replace it with regrow_location echo check $1 if [ -f "$1" ] then sed "s/noparam4/regrow_location/" "$1" > tempfile mv tempfile "$1" fi