V10/cmd/cflow/flip.c

Compare this file to the similar file:
Show the results in this format:

/*	@(#)flip.c	1.2	*/
#include <stdio.h>
#include <ctype.h>

main()
	{
	char line[BUFSIZ], *pl, *gets();

	while (pl = gets(line))
		{
		while (*pl != ':')
			++pl;
		*pl++ = '\0';
		while (isspace(*pl))
			++pl;
		printf("%s : %s\n", pl, line);
		}
	}