script/rest/reinit_iri.awk
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 19 Oct 2011 00:04:48 +0200
changeset 328 23ac0bfa2a16
parent 9 bb44692e09ee
permissions -rw-r--r--
Back to Todai Forum

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