usr.bin/uniq/uniq.c
void
show(FILE *ofp, char *str)
{

	if (cflag && *str)
		(void)fprintf(ofp, "%4d %s\n", repeats + 1, str);
	if ((dflag && repeats) || (uflag && !repeats))
		(void)fprintf(ofp, "%s\n", str);
}
/*
 * show --
 *	Output a line depending on the flags and number of repetitions
 *	of the line.
 */
show
Output a line depending on the flags and number of repetitions
of the line.
show Output a line depending on the flags and number of repetitions of the line .
void
show(FILE *ofp, char *str)
{
	if (cflag && *str)
		(void)fprintf(ofp, "%4d %s\n", repeats + 1, str);
	if ((dflag && repeats) || (uflag && !repeats))
		(void)fprintf(ofp, "%s\n", str);
}
void show ( FILE * ofp , char * str ) { if ( cflag && * str ) ( void ) fprintf ( ofp , " \n " , repeats + 1 , str ) ; if ( ( dflag && repeats ) || ( uflag && ! repeats ) ) ( void ) fprintf ( ofp , " \n " , str ) ; }
show
      Output a line depending on the flags and number of repetitions
      of the line.
show Output a line depending on the flags and number of repetitions of the line .