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

⟦48c1a3fe3⟧ TextFile

    Length: 549 (0x225)
    Types: TextFile
    Names: »gettest«

Derivation

└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen
    └─⟦b5330643c⟧ »./cops/perl-4.019/perl.tar.Z« 
        └─⟦2b9a58213⟧ 
            └─⟦this⟧ »perl-4.019/gettest« 

TextFile

#!./perl

    while (($name,$aliases,$addrtype,$length,@addrs) = gethostent) {
	print $name,' ',$aliases,
	  sprintf(" %d.%d.%d.%d\n",unpack('CCCC',$addrs[0]));
	last if $i++ > 50;
    }
    <stdin>;
    while (($name,$aliases,$addrtype,$net) = getnetent) {
	print "$name $aliases $addrtype ",sprintf("%08lx",$net),"\n";
    }
    <stdin>;
    while (($name,$aliases,$proto) = getprotoent) {
	print "$name $aliases $proto\n";
    }
    <stdin>;
    while (($name,$aliases,$port,$proto) = getservent) {
	print "$name $aliases $port $proto\n";
    }