|
|
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: 444 (0x1bc)
Types: TextFile
Names: »ditree.sh«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/others/quipu/tools/dsaconfig/quipu/scripts/ditree.sh«
: run this script through /bin/sh
sort | uniq | \
awk -f! 'BEGIN { i = 0; }
{
while (i > 0) {
j = length (prefix[i]);
if ((j < length ($1)) && (prefix[i] == substr ($1, 0, j))) {
for (k = i; k > 0; k--)
printf (" ");
printf ("%s\n", substr ($1, j + 1, length ($1) - j));
i++;
prefix[i] = $1 "@";
break;
}
i--;
}
if (i == 0) {
print $1;
i++;
prefix[i] = $1 "@";
}
}'