Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / ... of course, this probably only \ | happens for tcsh which uses wait4(), | | which is why I never saw it. Serves | | people who use that abomination right | | 8^) | | | | -- Linus Torvalds, about a patch that | \ fixes getrusage for 1.3.26 / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;