Subversion Repositories SvarDOS

Rev

Rev 357 | Rev 364 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 357 Rev 362
Line 304... Line 304...
304
    argcount = explode_progparams(buff, argvlist);
304
    argcount = explode_progparams(buff, argvlist);
305
 
305
 
306
    /* if no args found (eg. all-spaces), loop again */
306
    /* if no args found (eg. all-spaces), loop again */
307
    if (argcount == 0) continue;
307
    if (argcount == 0) continue;
308
 
308
 
309
    printf("got %u bytes of cmdline (%d args)\r\n", cmdline[-1], argcount);
-
 
310
    for (i = 0; i < argcount; i++) {
-
 
311
      printf("arg #%d = '%s'\r\n", i, argvlist[i]);
309
    /* for (i = 0; i < argcount; i++) printf("arg #%d = '%s'\r\n", i, argvlist[i]); */
312
    }
-
 
313
 
310
 
314
    /* is it about quitting? */
311
    /* is it about quitting? */
315
    if (imatch(argvlist[0], "exit")) break;
312
    if (imatch(argvlist[0], "exit")) break;
316
 
313
 
317
    /* try running it as an internal command */
314
    /* try running it as an internal command */