<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Martin,</p>
<p>My bad! I was using some obfuscated Perl there. In this case the
Diamond operator:</p>
<p><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fperlmaven.com%2Fthe-diamond-operator&data=01%7C01%7C%7C818bccefc40140d6494c08d7f6850568%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=5n2My2xExFpDNwnd5WRGphmDhMF3AcEcUd2zQwLThN8%3D&reserved=0" originalSrc="https://perlmaven.com/the-diamond-operator" shash="vMzhwTxoFMDXBaui3W8WsYSvHq699EIj9um+Ih9kCJnEfUJDTrWitZ5mXhKa8OUtlw1oghuwzcx6xe6TjSDgF9uv5xBTlTczUs0RtadegpaGIhVcSRhdMAE4rx/C6sP6QqooipQtvXR9295ea9ZJBYbsR9mdpw8Uax9tyeM55wE=">https://perlmaven.com/the-diamond-operator</a></p>
<p>The shift removes the repo ID so the Diamond operator only tries
to open the file named in the second argument. The Diamond
operator reads a line at a time, that is why I said the user IDs
need to be new line separated in this file.<br>
</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/05/2020 15:35, Martin Hawksey
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAMKPGpVmjg2i_N4sy699GUibg-uDzWkD-9Cn8W5FvoEj9HGAwA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">Hi David,
<div><br>
</div>
<div>Thanks for getting back to me, the script looks ideal.
Sorry for a follow-up perl question but I can see in the
shared script how:</div>
<div>
<pre style="overflow-wrap: break-word;"><font color="#000000"><span style="white-space:pre-wrap">my $repoid = shift @ARGV;</span></font></pre>
<pre style="overflow-wrap: break-word;"><font face="arial, sans-serif">would get the repository name and remove </font>ARCHIVE_NAME<font face="arial, sans-serif"> from </font>@ARGV <font face="arial, sans-serif">but where in the script does it open the file of new line separated user IDs?</font><font color="#000000"><span style="white-space:pre-wrap">
</span></font></pre>
<pre style="overflow-wrap: break-word;"><font face="arial, sans-serif">Many thanks</font></pre>
<pre style="overflow-wrap: break-word;"><font face="arial, sans-serif">Martin</font></pre>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7C818bccefc40140d6494c08d7f6850568%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=6mgtgyOr4zSU113yAn9OwHUSrtw%2Fhr1Hua0Cm%2FSxPA0%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="SQOplAqU6OFDVsu079ShTTgO/AveTulzPCAMER48euSOR+0dtdUxRAvZrT3+phN++lrevV5tidikxLH80ZneBRE8fODKMgIQlXt2HqaoeZ9ChEViEBnxXK9MagFOP0xCCy8/A2INyDJJdcOYnDh9YPIy/Z7hcEyJNZ9iaecRij4=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7C818bccefc40140d6494c08d7f6850568%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=6mgtgyOr4zSU113yAn9OwHUSrtw%2Fhr1Hua0Cm%2FSxPA0%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="SQOplAqU6OFDVsu079ShTTgO/AveTulzPCAMER48euSOR+0dtdUxRAvZrT3+phN++lrevV5tidikxLH80ZneBRE8fODKMgIQlXt2HqaoeZ9ChEViEBnxXK9MagFOP0xCCy8/A2INyDJJdcOYnDh9YPIy/Z7hcEyJNZ9iaecRij4=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>