Use grep to change revision