On 06/04/2011 22:09, Will Fiveash wrote: > While working on a project that has touched a lot of existing files I'm > seeing a lot of these warnings from hg cddlchk: > > usr/src/lib/libgss/g_rel_buffer.c: 5: Error: Invalid line in CDDL block: > should be > 'Common Development and Distribution License (the "License").' > is > 'Common Development and Distribution License, Version 1.0 only' > > Is there a tool I can use on these files to fix this up instead of doing > it by hand? > Hi Will,
Casper has a tool for this, see /home/casper/bin/sh/fix-cddl And for the benefit of others whom may not be aware he has an excellent /home/casper/bin/sh/fix-copyright too. Thanks Casper, -- Stacey _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org