From cec94a366453d049b317667faef6d3f369583e84 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Thu, 24 Feb 2011 16:45:44 +0530 Subject: [PATCH] (minor) who-pushed adc falls afoul of egrep incompat between Linux distros! It seems even within Linux, not all "egrep"s are equal. So we fall back to the one true standard :-) [caught by Jeff from the KDE team] --- contrib/adc/who-pushed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/adc/who-pushed b/contrib/adc/who-pushed index f1eec21..413b417 100755 --- a/contrib/adc/who-pushed +++ b/contrib/adc/who-pushed @@ -20,7 +20,7 @@ logdir=$(dirname $GL_LOG) # uncodumented env var ;-) ls $logdir | tac | while read lf do - < $logdir/$lf grep receive-pack | egrep "\s$repo\s" | cut -f1,2,3,5- | tac + < $logdir/$lf perl -ne "print if /receive-pack.*\s$repo\s/" | cut -f1,2,3,5- | tac done | while read ts who IP perm old new repo ref rule do save_old=$old