Skip to content

tpenguinltg/ed1-quine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ed(1) Quine

Quine: A program that produces its own source code as output. (Wiktionary)

This ed(1) script, when run through ed with no file, will print its own source code.

Running

$ ed < quine.ed

The filename of the script is not important. The script does not even have to be in a file.

Verifying

$ ed < quine.ed > quine.out
$ diff quine.ed quine.out

The diff should produce no output and exit with success (0).

License

MIT. See the LICENSE file for details.

About

An ed(1) quine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published