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
Index: T g

⟦c25726f4e⟧ TextFile

    Length: 598 (0x256)
    Types: TextFile
    Names: »getweek.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/getweek.sh« 

TextFile

: run this script through /bin/sh

date | awk 'BEGIN { months["Jan"] = 1;
		    months["Feb"] = 2;
		    months["Mar"] = 3;
		    months["Apr"] = 4;
		    months["May"] = 5;
		    months["Jun"] = 6;
		    months["Jul"] = 7;
		    months["Aug"] = 8;
		    months["Sep"] = 9;
		    months["Oct"] = 10;
		    months["Nov"] = 11;
		    months["Dec"] = 12;
		    days["Sun"] = 1;
		    days["Mon"] = 2;
		    days["Tue"] = 3;
		    days["Wed"] = 4;
		    days["Thu"] = 5;
		    days["Fri"] = 6;
		    days["Sat"] = 7; }
	{ printf "DN=%d M=%d Y=%d DO=%d\n", $3, months[$2], $6 % 100, days[$1] }'

exit 0