Linux Easter Egg - Vim (Vi Improved) Response to Meaning of Life

Open vi improved:

$ vim

Then type ":help 42"

:help 42

This is a reference to "The Hitchhiker's Guide to the Galaxy"

Works wherever vi improved (vim) is installed.

User Rating:
8.3
  8.3/10 with 30 votes
Contributed By: Anonymous on 10-29-2006
Reviewed By: racedogg2, dicai
Please correct this Egg if you see errors.

Pictures and Videos

Screenshot of vim after typing ':help 42' (VIM - Vi IMproved 6.4) gvim 7.0.109 on Slackware Linux 11.0 cream/vim for windows (running in vista :-(
Screenshot of vim after typing ':help 42' (VIM - Vi IMproved 6.4) gvim 7.0.109 on Slackware Linux 11.0 cream/vim for windows (running in vista :-(

Do you have another one? Send us a picture or video of this Egg!

Comments

abaddon writes:
It also works with slax but not Fedora or FreeBSD?
21 of 39 people found this comment helpful. Did you? Yes No
Andy writes:
I tried it and got: What is the meaning of life, the universe and everything? *42* Douglas Adams, the only person who knew what this question really was about is now dead, unfortunately. So now you might wonder what the meaning of death is... Vim version: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled May 23 2006 12:03:57) Running on Ubuntu Linux 6.06 LTS (doubt this actually makes a differance, its the vim version that counts ;))
21 of 39 people found this comment helpful. Did you? Yes No
james2vegas writes:
Well, this should work wherever vim (as opposed to plain vi, which is standard on many systems still) is installed and aliased as vi (otherwise 'vim' should work wherever vim is installed). Since you can get vim on mac os x, solaris, various unixes, freebsd, netbsd, openbsd and windows, its really not appropriate to mark it a 'linux' egg.
21 of 39 people found this comment helpful. Did you? Yes No
mmmmna writes:
Well, since vim is open sourced software, anyone of sufficient skill can add or remove whatever source code is creating the 'egg'. This explains why some Linux distributions have the egg and some versions do not have the egg... it would stand to reason that editing to remove the amusing but otherwise utterly useless egg is a matter for the discretion of the vi/vim package maintainers in any given Linux distribution.
21 of 39 people found this comment helpful. Did you? Yes No


Register - Privacy Policy - About Us - Contact Us