#include <stdio.h>
#include <stdlib.h>

int main (int argc, char *argv[])
{	
	if (!strcmp (argv[1], "--help")) {
		printf ("Usage: yes {STRING | OPTIONS}\n"
				"Prints countinuosly a STRING or `y'.\n"
				"OPTIONS:\n"
				"\n\t--help\tShows this help message.\n\n"
				);
		exit (0);
	}
	
	if (argc == 1) {
		do puts ("y"); while (1);
	}
	else {
		unsigned i;
		
		while (1) {
			for (i=1; i<argc; i++) {
				printf ("%s ",argv[i]);
			}
			
			puts ("");
		}
	}
}

