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;
}