> (if you included code snippets of a GPL-covered program in a book you would
> have to license that book under the GPL)

That's wrong for two main reasons:

1. A couple small snippets being used for demonstration would be something you can use the "fair use" defense for, and have a really good chance with it.

2. A book that includes a copy of a program is not a program; relative to the book, the source code is just data, so the GNU GPL doesn't have to apply to the book. Similarly, posting a program under the GNU GPL onto a website does not create a requirement for the website to be under the GNU GPL.

Reply via email to