Skip to content

Instantly share code, notes, and snippets.

@carloslack
carloslack / 0 - UNIX Fifth Edition
Created November 26, 2017 20:54 — forked from fogus/0 - UNIX Fifth Edition
UNIX V5, OpenBSD, Plan 9, FreeBSD, and GNU coreutils implementations of echo.c
main(argc, argv)
int argc;
char *argv[];
{
int i;
argc--;
for(i=1; i<=argc; i++)
printf("%s%c", argv[i], i==argc? '\n': ' ');
}