2 # license-status - Display the status of files in the current directory
3 # Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
5 # This code is issued under the GNU General Public License.
6 # See the file COPYING in this distribution
8 # Gordon Matzigkeit <gord@fig.org>, 2001-09-27
10 for f in `find . -type f | sort`; do
12 *~ | *.orig | *.gz | */config.* | *.o | \
13 */CVS/* | */.cvsignore | */.depfiles/* | \
14 */COPYING | */ChangeLog)
19 if head -20 "$f" | egrep -e 'GNU' > /dev/null; then
21 elif head -20 "$f" | egrep -e '\([Cc]\)' > /dev/null; then