diff options
Diffstat (limited to 'regress/usr.bin/xargs/showargs.c')
-rw-r--r-- | regress/usr.bin/xargs/showargs.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/usr.bin/xargs/showargs.c b/regress/usr.bin/xargs/showargs.c new file mode 100644 index 00000000000..d30f7030f35 --- /dev/null +++ b/regress/usr.bin/xargs/showargs.c @@ -0,0 +1,19 @@ +/* $OpenBSD: showargs.c,v 1.1 2010/03/25 01:43:47 schwarze Exp $ */ + +/* + * written by Ingo Schwarze <schwarze@openbsd.org> 2010 + * and placed in the public domain + */ + +#include <stdio.h> + +int +main(int argc, char *argv[]) { + int i; + + for (i = 1; i < argc; i++) + printf("%s|", argv[i]); + putchar('\n'); + + return 0; +} |