More problematic is the case where the program itself contains significant portions of its documentation, like LaTeX or Emacs. In these cases, you need to move arbitrary text between the documentation and the program, not just code samples.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds