script/rest/reinit_iri.awk
author Raphael Velt <raph.velt@gmail.com>
Fri, 07 Jun 2013 18:34:22 +0200
changeset 926 6c5b07e9ecdc
parent 9 bb44692e09ee
permissions -rw-r--r--
Bugfix

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