Skip to content
Snippets Groups Projects
Commit 3193d78a authored by PARK SUYEON's avatar PARK SUYEON
Browse files

Update src/main.c

parent df162ca7
No related branches found
No related tags found
No related merge requests found
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
...@@ -59,9 +60,9 @@ int main() ...@@ -59,9 +60,9 @@ int main()
apply_alias: apply_alias:
mysh_parse_command(buf, &argc, &argv); mysh_parse_command(buf, &argc, &argv);
for(int i=0;i<argc;i++){ // for(int i=0;i<argc;i++){
printf("%s,%d",argv[i],i); // printf("%s,%d",argv[i],i);
} // }
if (strcmp(argv[0], "") == 0) { if (strcmp(argv[0], "") == 0) {
goto release_and_continue; goto release_and_continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment