Skip to content

Instantly share code, notes, and snippets.

@polymetric
polymetric / 0 - UNIX Fifth Edition.c
Last active January 14, 2016 18:49
UNIX V5, OpenBSD, Plan 9, FreeBSD, and GNU coreutils implementations of echo.c || Edited by polymetric to add syntax highlighting
main(argc, argv)
int argc;
char *argv[];
{
int i;
argc--;
for(i=1; i<=argc; i++)
printf("%s%c", argv[i], i==argc? '\n': ' ');
}