Date: Wed, 25 Oct 2006 15:44:00 +0800 From: LI Xin <delphij@delphij.net> To: freebsd-hackers@FreeBSD.org Subject: Best practice for displaying license? Message-ID: <453F15C0.70009@delphij.net>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hi, folks, I am thinking about whether we can use a better way to display license for a BSD licensed software. Currently I have copy and pasted the copyright as a static string constant, but that means that we have to duplicate the text, like this: static const char license[] = " * Copyright (c) [year] [your name]\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n [...] * SUCH DAMAGE.\n " Is there some better way not to include so much duplicated text? Cheers, -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFPxXAOfuToMruuMARA6uRAJ9VFlwkpiGCuxauzzjc+I2WGCKQqQCfexxt vT9brZigX9FwCLHvdSt9U5k= =FXtI -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453F15C0.70009>
