Google
 

Trailing-Edge - PDP-10 Archives - SRI_NIC_PERM_FS_1_19910112 - c/lib5/test/tsystm.c
There are 4 other files named tsystm.c in the archive. Click here to see a list.
#include <stdio.h>
main()
{
	char	testline[100];

    system("whois klh");
    system("host sri-nic");
    while (1) {
	printf("Enter test line: ");
	fgets(testline,99,stdin);
	*(testline+strlen(testline)-1) = 0;
	system(testline);
	printf("\nDone.\n");
    }
}