zm
This commit is contained in:
parent
5b566ee326
commit
14598253ef
BIN
Microshell/microshell
Executable file
BIN
Microshell/microshell
Executable file
Binary file not shown.
@ -43,6 +43,10 @@ int main (){
|
|||||||
printf("[%s]$ ", directory);
|
printf("[%s]$ ", directory);
|
||||||
fgets(komenda, max, stdin);
|
fgets(komenda, max, stdin);
|
||||||
cut(argv, komenda);
|
cut(argv, komenda);
|
||||||
|
if (komenda[0] == 10){
|
||||||
|
printf("\n");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!strcmp(komenda, "exit\n"))
|
if (!strcmp(komenda, "exit\n"))
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user