9
The Debian Linux distribution (and Debian-based distros, like Ubuntu, Kali and others) uses a package-manager called APT. To install program foo you would type into a terminal
sudo apt-get install foo
One little Easter Egg of APT is the following
apt-get moo
Which after typing will produce the following output
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
..."Have you mooed today?"...
You must write a program that produces this EXACT output in as few bytes as possible. (including trailing spaces and a new line)
Here is the same output with \n added to represent newline characters, and a * to represent trailing spaces
(__)*\n
(oo)*\n
/------\/*\n
/ | ||***\n
* /\---/\*\n
~~ ~~***\n
..."Have you mooed today?"...\n
As requested in the comments, here is the md5sum of the mooing.
35aa920972944a9cc26899ba50024115 -
1
I think it's APT, not aptitude; aptitude does not have Super Cow Powers
– aditsu quit because SE is EVIL – 2015-09-02T18:24:40.803@aditsu oh, I guess I misunderstood what aptitude is. I thought aptitude is the name of apt-get. – James – 2015-09-02T18:26:20.113
For reference, could you post the output of
apt-get moo|md5sum? – aditsu quit because SE is EVIL – 2015-09-02T18:29:03.39325Bash, 11 bytes:
apt-get moo:P – Dennis – 2015-09-02T18:57:35.710I'm getting a different result from
apt-get moo|md5sumon Ubuntu. One obvious difference is that it has much less leading space. – Reto Koradi – 2015-09-02T19:47:17.690@RetoKoradi I presume that's intentional – Beta Decay – 2015-09-02T21:03:59.420
5@Dennis Doesn't work on Arch Linux ... cannot reproduce the result :P – Otomo – 2015-09-02T23:07:35.730
$ aptitude moo(hint: try making the output more verbose ;) ) – Doorknob – 2015-09-03T01:32:20.437