k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit 602dd4047f372b2fc9d67d10572541a1e7c0efa2
parent 93016659c65a11390142bed52b3a1c7bb9e1350a
Author: call-cc <callcc@vxempire.xyz>
Date:   Mon,  1 Jun 2020 15:40:22 -0400

Fix echo, shorten file size

Diffstat:
Msrc/echo.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/echo.c b/src/echo.c @@ -1,10 +1,9 @@ -#include <string.h> #include <stdio.h> -#include <unistd.h> int main(int argc, char *argv[]) { + ++argv; while(*argv) { (void)fputs(*argv, stdout); // Print argv if(*++argv) putchar(' '); // If multiple things in argv, print a space between them.