independ echo
This commit is contained in:
-19
@@ -1,19 +0,0 @@
|
||||
#include <sysexits.h>
|
||||
#include <stddef.h> /* NULL */
|
||||
#include <unistd.h> /* write(2) */
|
||||
#include "libio.h" /* fdprint(3) */
|
||||
|
||||
int main(int argc, char **argv){
|
||||
|
||||
if(*argv == NULL)
|
||||
return EX_OSERR;
|
||||
|
||||
while(*++argv != NULL){
|
||||
fdprint(1, *argv);
|
||||
|
||||
if(*(argv+1) != NULL)
|
||||
write(1, " ", 1);
|
||||
}
|
||||
write(1, "\n", 1);
|
||||
return EX_OK;
|
||||
}
|
||||
Reference in New Issue
Block a user