From: jaruga@... Date: 2016-07-11T08:50:55+00:00 Subject: [ruby-core:76350] [Ruby trunk Bug#12549] List files with CC0 license in LEGAL file Issue #12549 has been updated by Jun Aruga. > And missing/strerror.c. > > You can use find -exec {} + and grep -l, or grep -r --include. Yes, its file is included too. Thanks, I missed it. and the grep options looks better than "sort | uniq". I will take a note of it. :) ---------------------------------------- Bug #12549: List files with CC0 license in LEGAL file https://bugs.ruby-lang.org/issues/12549#change-59590 * Author: Martin D��rst * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- From https://bugs.ruby-lang.org/issues/12529: Additional files with CC0 (Public Domain license) ``` find -name "*.[ch]" -o -name "*.src" \ | xargs grep -ri 'public[ -]domain' \ | awk -F ':' '{ print $1 }' \ | sort | uniq ``` Below files are not included within the LEGAL file. ``` ext/date/date_strftime.c ext/sdbm/_sdbm.c ext/sdbm/sdbm.h include/ruby/st.h missing/acosh.c strftime.c ``` ---Files-------------------------------- LEGAL-public-domain.patch (1.05 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: