#include <stdio.h>
#include <unistd.h>

int main(void)
{
	int pid;

	pid = fork();
	pid = fork();
	pid = fork();
	if (pid > 0) {
		pid = fork();
		if (pid > 0) {
			pid = fork();
			if (pid > 0) {
				pid = fork();
				if (pid > 0) {
					sleep(1);
					return 0;
				}
			}
		}
	}
	system("ls /bin | ./tee42-24tee somefile | wc >/dev/null");

	return 0;
}
