English [en]  

Ed source code

while :;do read x;echo \?;done

Here is the source code in x86 assembly (submitted by Nate):

[ORG 0x100]
top:  mov ah,0x0a
      mov dx, buffer
      int 0x21
      mov ah, 0x09
      mov dl,message
      int 0x21
      jmp short top
message:
         db 10,'?',13,10,'$'
buffer:

An initial variant of this joke is also available in plain text.

Another, submitted by Hunter Turcin:


#include <iostream>
#include <string>
using namespace std;

int
main()
{
  string huh;
  for (;;)
    {
      getline(cin, huh);
      cout << "?\n";
    }
  return 0;
}

Other humor in the GNU Humor Collection.

Disclaimer

The joke on this page was obtained from the FSF's email archives of the GNU Project.

The Free Software Foundation claims no copyright on this joke.

 [FSF logo] “Our mission is to preserve, protect and promote the freedom to use, study, copy, modify, and redistribute computer software, and to defend the rights of Free Software users.”

The Free Software Foundation is the principal organizational sponsor of the GNU Operating System. Support GNU and the FSF by buying manuals and gear, joining the FSF as an associate member, or making a donation, either directly to the FSF or via Flattr.

back to top