script/rest/reinit_iri.awk
author Raphael Velt <raph.velt@gmail.com>
Thu, 17 Jan 2013 15:19:13 +0100
changeset 767 6f9768cf97d6
parent 9 bb44692e09ee
permissions -rw-r--r--
Added tag V02.10 for changeset f2db0ec283f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     1
{
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     2
    cmd = "ls -rc " $5"/*.iri | head -n1";
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     3
    cmd | getline RES ;
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     4
    close(cmd); 
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     5
    system( "cp " RES".old "RES);
bb44692e09ee script apres traitement enmi
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     6
}