Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / /* This bit of chicanery makes a unary \ | function followed by a parenthesis into | | a function with one argument, highest | | precedence. */ | | | | -- Larry Wall in toke.c from the perl | \ source code / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;