[ale] OT: hexing files

Joe Knapka jknapka at kneuro.net
Tue Oct 14 12:56:07 EDT 2003


Charles Shapiro <cshapiro at nubridges.com> writes:

> A true quine, of  course, is  a program which produces its own source
> code as its output. A good bash quine, courtesy of Mark Wooding at the
> quines page, is:
> 
> #! /bin/sh
> q="'" qq='echo \#! /bin/sh;echo q=\"$q\" qq=${q}$qq$q;echo eval \$qq'
> eval $qq

And a good hq9+ quine is:

q

hq9+ is a great first language for budding programmers. It
lets you do all the simple stuff in a very straightforward
manner, but prevents you from overtaxing your brain
by doing anything you're not really ready for.

<http://www.cliff.biffle.org/esoterica/hq9plus.html>

Cheers,

-- Joe Knapka



More information about the Ale mailing list