#!/bin/sh
while
read
oldrev newrev ref
do
if
"
$ref
"
==
*
master
*
;
then
# do stuff
fi
done