Actions
Bug #12549
closedList files with CC0 license in LEGAL file
Description
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
Updated by jaruga (Jun Aruga) over 8 years ago
Hi,
I would send my patch to fix this.
Could you check it?
Thanks.
Updated by duerst (Martin Dürst) over 8 years ago
- Blocks Misc #12529: LEGAL file covering all the license information within Ruby added
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
And missing/strerror.c.
You can use find -exec {} +
and grep -l
, or grep -r --include
.
find . \( -name "*.[ch]" -o -name "*.src" \) -exec grep -li 'public[ -]domain' {} +
grep -lri 'public[ -]domain' --include="*.[ch]" --include="*.src"
git --no-pager grep -l -i 'public[ -]domain' -- "*.[ch]" "*.src"
Updated by jaruga (Jun Aruga) over 8 years ago
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. :)
Updated by duerst (Martin Dürst) over 8 years ago
- Assignee set to hsbt (Hiroshi SHIBATA)
Updated by hsbt (Hiroshi SHIBATA) over 8 years ago
- Status changed from Open to Closed
Updated by shyouhei (Shyouhei Urabe) over 4 years ago
- Related to Bug #16820: LEGAL is out of sync added
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0