/*
**  This is a real dumb program written to test the "w" form of popen.
**  it just echoes stdin to stdout and exits with a strange value to
**  see that pclose gets the correct exit status
*/

#include <stdio.h>
#include <stdlib.h>

main()
{
	int	ch;

	while ((ch = getchar()) > 0)
		putchar(ch);
	exit(122);
}
