k9core

Coreutils for *nix operating systems [fork]
git clone git://bvnf.space/k9core.git
Log | Files | Refs | LICENSE

yes.c (142B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
#include <stdio.h>

int
main(int argc, char *argv[])
{
	if(argc > 1)
		while(1)
			puts(argv[1]);
	else
		while(1)
			puts("y");
	return 0;
}