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>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6237A3AD0DBBEB869E8D2BAD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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[] =3D " * 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, --=20 Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig6237A3AD0DBBEB869E8D2BAD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig6237A3AD0DBBEB869E8D2BAD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453F15C0.70009>