summaryrefslogtreecommitdiff
path: root/regress/usr.bin/xargs/showargs.c
blob: d30f7030f3514e5ea5f68c6c6ab31f49106d3cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}