How to automate finding comments in copyright/license block
Frank Kühndel
frank.kuehndel at embedded-brains.de
Thu Aug 11 08:48:06 UTC 2022
Hi Joel,
it of course depends what exactly you are looking for, what you expect
as output and what patterns to match. May be this is an idea but it
still contains a few false positives in its output:
$ cd rtems
$ fgrep -rn -C 3 'COPYRIGHT' cpukit/ | fgrep -C 3 'P1003'
Relicensing is a formidable and tremendous task. I have a lot of respect
for you and all others working on it.
Greetings
fk
On 8/10/22 15:38, Joel Sherrill wrote:
> I've spotted a few cases like this over the past couple of weeks and wonder
> how we can automate finding them:
>
> /*
> * 6.7.7 Wait for Asynchronous I/O Request, P1003.1b-1993, p. 164
> *
> * COPYRIGHT (c) 1989-2007.
> * On-Line Applications Research Corporation (OAR).
> *
>
> The reference to a page in the very old POSIX standard shouldn't be in this
> block.
>
> This is ignoring that we probably need to figure out what to do with
> references to the paper copy of the 1993 POSIX standard. That's another
> task.
>
> And ignoring that there are still many files to relicense.
>
> --joel
--
embedded brains GmbH
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehndel at embedded-brains.de
phone: +49-89-18 94 741 - 23
mobile: +49-176-15 22 06 - 11
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list