Re: How to automate finding comments in copyright/license block

2022-08-11 Thread Frank Kühndel
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

How to automate finding comments in copyright/license block

2022-08-10 Thread Joel Sherrill
Hi 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 i