Commits

Miki Tebeka committed a3a1fa5

quine

Comments (0)

Files changed (2)

 
 *.6
 *.out
+_testmain.go
 avg64
 cat
 echo
 map
 nc
 pp
+quine
 stack
 t
 uniq
 wc
 zfile
-_testmain.go
+/* Go quine */
+package main
+
+import "fmt"
+
+func main() {
+	fmt.Printf("%s%c%s%c\n", q, 0x60, q, 0x60)
+}
+
+var q = `/* Go quine */
+package main
+
+import "fmt"
+
+func main() {
+	fmt.Printf("%s%c%s%c\n", q, 0x60, q, 0x60)
+}
+var q=`