Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3310 → Rev 3311

/branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c
1,4 → 1,4
/* Automatically generated by mknewcmd on Mon Aug 11 00:21:59 PHT 2008
/* Automatically generated by mknewcmd on Wed Aug 13 15:41:09 PHT 2008
* This is machine generated output. The author of mknewcmd claims no
* copyright over the contents of this file. Where legally permitted, the
* contents herein are donated to the public domain.
8,6 → 8,9
 
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
#include "util.h"
#include "errors.h"
#include "entry.h"
#include "cat.h"
#include "cmds.h"
19,7 → 22,7
{
printf("This is the %s help for '%s'.\n",
level ? EXT_HELP : SHORT_HELP, cmdname);
return 0;
return CMD_VOID;
}
 
/* Main entry point for cat, accepts an array of arguments */
36,7 → 39,7
 
if (argc < 2) {
printf("\n");
return 0;
return CMD_SUCCESS;
}
 
printf(":\n");
43,6 → 46,6
for (i = 1; i < argc; i++)
printf("[%d] -> %s\n", i, argv[i]);
 
return 0;
return CMD_SUCCESS;
}