in reply to Why isn't this a quine?
It's not a true quine. A true quine generates it's own source. This only finds the file that contains the source and prints it.
It also has a race condition: if I replace the file shortly after you've run it, it will output whatever is in the new file and not the source code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why isn't this a quine?
by mchampag (Acolyte) on Aug 02, 2009 at 00:03 UTC | |
|
Re^2: Why isn't this a quine?
by JadeNB (Chaplain) on Aug 03, 2009 at 15:33 UTC |