script/rest/reinit_iri.awk
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 15 May 2013 16:50:39 +0200
changeset 904 94c8f063f0ea
parent 9 bb44692e09ee
permissions -rw-r--r--
correct sync_live to sync with the correct server

{
    cmd = "ls -rc " $5"/*.iri | head -n1";
    cmd | getline RES ;
    close(cmd); 
    system( "cp " RES".old "RES);
}