period needed to be escaped in grep command in pre merge script