Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / The language provides a programmer with \ | a set of conceptual tools; if these are | | inadequate for the task, they will | | simply be ignored. For example, | | seriously restricting the concept of a | | pointer simply forces the programmer to | | use a vector plus integer arithmetic to | | implement structures, pointer, etc. | | Good design and the absence of errors | | cannot be guaranteed by mere language | | features. | | | | -- Bjarne Stroustrup, "The C++ | \ Programming Language" / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;