cat hack

created by ariels
(thing) by ariels (4.1 d) (print)   (I like it!) 1 C! Mon May 15 2000 at 22:20:49
#!/bin/cat
If you make this file executable, it's a quine in any UN*X shell.

However, it doesn't really count, since cat is not Turing complete. However, the totality of a UN*X system is Turing complete (assuming unbounded resources, as usual), so it makes sense there, and is particularly elegant.
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.