close(255) = 0 open("input", O_RDONLY|O_LARGEFILE) = 3 dup2(3, 0) = 0 close(3) = 0 dup2(1, 2) = 2 open("output", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 dup2(3, 1) = 1 close(3) = 0 execve("/bin/cat", ["cat"], [/* 46 vars */]) = 0 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 close(3) = 0 open("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\347\314B4\0\0\0"..., 512) = 512 close(3) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 close(3) = 0 read(0, "hello world\n", 32768) = 12 write(1, "hello world\n", 12) = 12 read(0, "", 32768) = 0 close(0) = 0 close(1) = 0 close(2) = 0 +++ exited with 0 +++