1/*- 2 * This program is in the public domain 3 * 4 * $FreeBSD: releng/11.0/bin/dd/gen.c 295749 2016-02-18 08:44:16Z thomas $ 5 */ 6 7#include <stdio.h> 8#include <string.h> 9 10int 11main(int argc, char **argv) 12{ 13 int i; 14 15 if (argc > 1 && !strcmp(argv[1], "189284")) { 16 fputs("ABCDEFGH", stdout); 17 for (i = 0; i < 8; i++) 18 putchar(0); 19 } else { 20 for (i = 0; i < 256; i++) 21 putchar(i); 22 } 23 return (0); 24} 25