[rancid] [patch] Using diffstat in the output mail
Christian Hammers
ch at westend.com
Mon May 22 10:25:24 UTC 2006
Hello
I modified the mail output to include the output of diffstat. This gives
me a nice overview of what has changed without having to browse through
the long mail:
switch1.intern | 4 +++-
routerxx.intern | 4 +++-
sw04-xxx-yyy.westend.com | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
bye,
-christian-
--- old/bin/control_rancid.in 2006-03-15 10:05:33.000000000 +0100
+++ new/bin/control_rancid.in 2006-03-16 09:33:44.964493641 +0100
@@ -392,6 +392,8 @@
Subject: $subject
Precedence: bulk
+`diffstat $TMP.diff`
+
`cat $TMP.diff`
EMAIL
fi
--
Christian Hammers WESTEND GmbH | Internet-Business-Provider
Technik CISCO Systems Partner - Authorized Reseller
Lütticher Straße 10 Tel 0241/701333-11
ch at westend.com D-52064 Aachen Fax 0241/911879
More information about the Rancid-discuss
mailing list