|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 424 (0x1a8)
Types: TextFile
Names: »fillblnk.sh«
└─⟦276d19d6e⟧ Bits:30007243 EUUGD5_I: X11R5
└─⟦af7d3f39a⟧ »./mit-2/mit-2.00«
└─⟦0abaffd9e⟧
└─⟦this⟧ »mit/demos/x11perf/fillblnk.sh«
#!/bin/sh
echo '#####EOF#####' | cat $2 - $1 |
awk -F: '\
$1 == "#####EOF#####" { filling = 1; currentItem = 1; lastItem = NR; next; }
filling != "1" { itemOrder[" " $1] = NR; name[NR] = $1; }
filling == "1" { rate[itemOrder[$2]] = $1; }
END {
for (i = 1; i < lastItem; i++) {
if (rate[i] != "") {
printf ("%s: %s\n", rate[i], name[i]);
} else {
printf (" 0 trep @ 0.0 msec (0.0/sec): %s\n", name[i]);
}
}
}'