Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 17 submissions in the queue.
posted by martyb on Wednesday November 22 2017, @07:42PM   Printer-friendly
from the ABBA++ dept.

Spotted at Lobsters is a thread about a stackoverflow question on man; why does running "man -w" report "gimme gimme gimme" when run at 00:30?

This gets this response:

Pretty much the whole story is in the commit. The maintainer of man is a good friend of mine, and one day six years ago I jokingly said to him that if you invoke man after midnight it should print "gimme gimme gimme", because of the Abba song called "Gimme gimme gimme a man after midnight":

Well, he did actually put it in. A few people were amused to discover it, and we mostly forgot about it until today.

The commit in question, and more commentary over at HackerNews.

Anyone know of other good easter eggs that have cropped up unexpectedly and caught users out?


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by Arik on Thursday November 23 2017, @10:17AM (4 children)

    by Arik (4543) on Thursday November 23 2017, @10:17AM (#600596) Journal
    "man -w stopped working as documented."

    Did not.
    --
    If laughter is the best medicine, who are the best doctors?
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by wonkey_monkey on Thursday November 23 2017, @06:21PM (3 children)

    by wonkey_monkey (279) on Thursday November 23 2017, @06:21PM (#600750) Homepage

    Did too.

    -w or --path
                Don’t actually display the man pages, but do print the loca-
                tion(s) of the files that would be formatted or displayed. If no
                argument is given: display (on stdout) the list of directories
                that is searched by man for man pages.
    If manpath is a link to
                man, then "manpath" is equivalent to "man --path".

    --
    systemd is Roko's Basilisk
    • (Score: 2) by maxwell demon on Thursday November 23 2017, @06:56PM (2 children)

      by maxwell demon (1608) on Thursday November 23 2017, @06:56PM (#600765) Journal

      That's not what it says on my system:

             -w, --where, --path, --location
                    Don't actually display the manual pages, but do print the  loca-
                    tion(s) of the source nroff files that would be formatted.

      Checked on 3 different versions of Linux (all Debian/Ubuntu based, though).

      --
      The Tao of math: The numbers you can count are not the real numbers.
      • (Score: 2) by maxwell demon on Thursday November 23 2017, @07:09PM (1 child)

        by maxwell demon (1608) on Thursday November 23 2017, @07:09PM (#600774) Journal

        Well, I now decided to look in the source: [nongnu.org]

        .TP
        .if !'po4a'hide' .BR \-w ", " \-\-where ", " \-\-path ", " \-\-location
        Don't actually display the manual pages, but do print the location(s) of
        the source nroff files that would be formatted.
        .TP

        Note that this is from the very repository in which the Easter egg was added.

        --
        The Tao of math: The numbers you can count are not the real numbers.
        • (Score: 0) by Anonymous Coward on Thursday November 23 2017, @10:05PM

          by Anonymous Coward on Thursday November 23 2017, @10:05PM (#600846)

          Things are a bit confusing because there are at least two different implementations of man in common use today on GNU/Linux systems.

          The subject of this article is man-db [nongnu.org], a reimplementation of the older "man" (whose website has been down for some time now but it is archived here [archive.org] -- I'm not sure if anyone has taken over from this)

          There are several differences, including (apparently) the documentation of the -w option. The part quoted by wonkey_money is from the classic "man" version.