GNU 主页 / GNU 幽默 / 软件 /

这是针对英文原版页面的中文翻译。

Ed 源代码

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

纯文本版本

下面是 x86 汇编的源代码(由 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:

另一个变体,由 Hunter Turcin 提交:

#include <iostream>
#include <string>
using namespace std;
int
main()
{
 string huh;
 for (;;)
 {
 getline(cin, huh);
 cout << "?\n";
 }
 return 0;
}

免责声明

本页上的笑话来自自由软件基金会的 GNU 项目电子邮件档案。自由软件基金会对其不享有任何版权。