-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcecho.c
26 lines (23 loc) · 1002 Bytes
/
cecho.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*********************************************************************/
/* */
/* This Program Written by Paul Edwards, 3:711/934@fidonet. */
/* Released to the Public Domain */
/* */
/*********************************************************************/
/*********************************************************************/
/* */
/* cecho - echo arguments */
/* */
/*********************************************************************/
#include <stdio.h>
int main(int argc, char **argv)
{
int x;
x = 1;
while (x < argc)
{
printf("%s ", *(argv + x));
x++;
}
printf("\n");
}