[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <johnwcowan@g...>
  • To: Michael Kay <mike@s...>
  • Date: Wed, 16 Oct 2013 21:11:01 -0400




On Wed, Oct 16, 2013 at 5:35 PM, Michael Kay <mike@s...> wrote:

Not on that definition it isn't. It calls the document() function, so it can't claim to "take no input". A program that copies its input, and is then run on itself, is not an interesting quine.

How about this shell quine?

#!/bin/cat

(Put it in a file foo, and type "sh foo" to a Unix shell.) 

--
GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member