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 - download

⟦1e3ae3bca⟧ TextFile

    Length: 403 (0x193)
    Types: TextFile
    Names: »testdata.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/multivol/testdata.c« 

TextFile

#include <stdio.h>
main(argc, argv)	/* garbo main() */
	int	argc;
	char	*argv[];
{
	long	atol();
	register long	j;
	register char	*str;
	register int	no_eoln, i;
	
	if (no_eoln = (*argv[1] == '-' && *++argv[1] == 'n')) {
		argv++;
		argc--;
	}
	for (i = 1; i < argc; i += 2) {
		str = argv[i+1];
		for (j = atol(argv[i]); j--; ) {
			printf("%s", str);
			if (!no_eoln)
				putc('\n', stdout);
		}
	}
}