Index: src/modules/c/shell/shell.c =================================================================== --- src/modules/c/shell/shell.c (Revision 735) +++ src/modules/c/shell/shell.c (Arbeitskopie) @@ -249,6 +249,17 @@ { shell_command_t* command; dword i; + + // Einrueckung ignorieren + while (*cmdstring == ' ' || *cmdstring == '\t') { + cmdstring++; + } + + // Kommentarzeilen ignorieren + if (*cmdstring == '#') { + return 0; + } + // Die Liste mit den Befehlen durchsuchen. Das wird solange gemacht, bis // der NULL eintrag am Ende erreicht wird. for (i = 0; i < sizeof(shell_commands) / sizeof(shell_command_t); i++)