Hi, Is there any script which takes abbreviation of a license (like GPL-3+) as input and generates the license text that can be used in debian/copyright (80 character wrapped, one space before each line, paragraph separated with periods - the whole deal.
For example, if the script is named 'genlicense', the command $ genlicense gpl-3.0+ should give the following output License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Is there any script which does this already? If not, can I write one that supports all DFSG-happy licenses and add it to devscripts? -- Regards Balasankar C http://balasankarc.in