From 1d5629a85dda994499e6d053f024c16a9026cbbd Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 18 Oct 2014 14:32:31 +0200 Subject: [PATCH] =?utf8?q?Pour=20v=C3=A9rifier=20qu'une=20ML=20est=20inclu?= =?utf8?q?se=20dans=20une=20autre?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mails/ml_in_ml.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 mails/ml_in_ml.sh diff --git a/mails/ml_in_ml.sh b/mails/ml_in_ml.sh new file mode 100755 index 0000000..0e0dc1a --- /dev/null +++ b/mails/ml_in_ml.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Vérifie que tous les membres de la ML $1 sont abonnés à la ML $2 +ML1=$1 +ML2=$2 + +diff -u <(list_members ${ML1} | sort) <(list_members ${ML2} | sort) | grep -v "/dev/fd" | egrep '^-' -- 2.39.2