commit e4cdd7df499a3e9d508bcf1bcacc4a84f0308469
parent 2214494a7793958383a4992ce057a1898bc1c9f2
Author: call-cc <callcc@vxempire.xyz>
Date: Wed, 3 Jun 2020 00:33:47 -0400
slight fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/echo.c b/src/echo.c
@@ -12,6 +12,6 @@ main(int argc, char *argv[])
(void)fputs(*argv, stdout); // Print argv
if(*++argv) putchar(' '); // If multiple things in argv, print a space between them.
}
- if(nflag) putchar('\n');
+ if(!nflag) putchar('\n');
return 0;
}