script/rest/reinit_iri.awk
author Raphael Velt <raph.velt@gmail.com>
Thu, 28 Feb 2013 11:45:02 +0100
changeset 793 650986b2a7c8
parent 9 bb44692e09ee
permissions -rw-r--r--
correction

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