0
0
This commit is contained in:
2021-08-16 20:11:08 +02:00
parent d717434d41
commit 229fd45f7e
2 changed files with 2 additions and 2 deletions

View File

@@ -18,10 +18,10 @@ int main(int argc, char *argv[])
int size;
int i;
size = 0;
i = 1;
while (argc > 0 && i < argc)
{
size = 0;
while (argv[i][++size] != '\0')
continue ;
write(1, argv[i], size);

View File

@@ -4,5 +4,5 @@ set -e
norminette -R CheckForbiddenSourceHeader
gcc -Wall -Wextra -Werror -o a.out *.c
echo $(basename $PWD):
./a.out $@
./a.out "$@"
rm -f a.out