blob: 914b32ef38ecc2ed74e305ac44abfe5bf1f1a270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv)
{
char cmd[strlen(argv[1]) + 6];
strcpy(cmd, "echo ");
strcat(cmd, argv[1]);
system(cmd);
return 0;
}
|