Skip to content

The original quine by Ken Thompson defined in his paper "Reflections on Trusting Trust".

License

Notifications You must be signed in to change notification settings

oglinuk/ken-thompsons-rott-quine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ken Thompsons Quine in C

The original quine defined by Ken Thompson in his paper Reflections on Trusting Trust. I've re-arranged s to be more human readable, but will add an unchanged version.

Example Usage

./init simple

./init foobar

./init endless void

TODO

This is actually not the correct original implemetation as the paper states (213 lines deleted), which including the 11 visible characters, means s is only 224 lines. The current implementation of s has 227 lines.

  • Find 3 unnecessary lines in s
  • Add more examples to init script

About

The original quine by Ken Thompson defined in his paper "Reflections on Trusting Trust".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published