Next: , Previous: , Up: License Notices   [Contents][Index]


6.6.5 License Notices for Code Examples

When a code example in documentation is more than two or three lines, and specific enough that people might want to copy and adapt it, we suggest putting a copy of the example in a file of code and releasing that under some free software license. That means it will be released under two different licenses: in the manual under the GFDL, and in the code example file under a software license.

If the example is important and nontrivial, and 40 lines or more, we suggest releasing the code copy under the same license as the program it pertains to. Otherwise, we recommend releasing it under the X11 license.