<div dir="ltr"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018, 2:47 PM Hal Murray via devel <<a href="mailto:devel@ntpsec.org" target="_blank">devel@ntpsec.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
"function" seems not to work in sh scripts.<br>
<br>
I doubt if ntpleapfetch ever worked. I don't use it. This showed up with the <br>
bin_check addition. (Thanks!)<br>
<br>
Anybody recognize this?<br>
<br>
FreeBSD:<br>
<br>
[murray@ted3 ~/ntpsec/play]$ ./ted3/main/ntpclients/ntpleapfetch --version > <br>
foo<br>
./ted3/main/ntpclients/ntpleapfetch: function: not found<br>
[murray@ted3 ~/ntpsec/play]$ <br>
<br>
[murray@ted3 ~/ntpsec/play]$ head foo<br>
Usage: ntpleapfetch [options] [leapfile]<br>
<br>
Verifies and if necessary, updates leap-second definition file<br>
<br>
All arguments are optional: Default (or current value) shown:<br>
-s Specify the URL of the master copy to download<br>
<a href="https://www.ietf.org/timezones/data/leap-seconds.list" rel="noreferrer noreferrer" target="_blank">https://www.ietf.org/timezones/data/leap-seconds.list</a><br>
-4 Use only IPv4<br>
-6 Use only IPv6<br>
-p 4|6<br>
<br>
--------<br>
<br>
NetBSD:<br>
<br>
Waf: Leaving directory `/home/murray/ntpsec/play/bob3/main'<br>
running: main/ntpclients/ntpleapfetch --version FAILED <br>
function: not found<br>
main/ntpclients/ntpleapfetch: 117: Syntax error: "}" unexpected<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I was working on that a little try checking out merge request !831</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
</div>