DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦f605f08ce⟧ TextFile

    Length: 444 (0x1bc)
    Types: TextFile
    Names: »ditree.sh«

Derivation

└─⟦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« 

TextFile

: 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 "@";
	    }
	}'