patacongo edited a comment on issue #528: sched/mqueue: Correct/update license headers. URL: https://github.com/apache/incubator-nuttx/pull/528#issuecomment-597251644 This does the job: #!/bin/sh for file in `find . -type f`; do if [ "X`grep $1 $file`" != "X" ]; then if [ `grep -c Copyright $file` -eq 1 ]; then echo $file fi fi done For a small example restricted to the fs/ sub-directory: $ cd fs $ ../copyright.sh Pinecone ./driver/fs_blockpartition.c ./driver/fs_mtdpartition.c ./driver/fs_mtdproxy.c ./hostfs/hostfs_rpmsg.c ./hostfs/hostfs_rpmsg.h ./hostfs/hostfs_rpmsg_server.c ./partition/fs_partition.c ./partition/fs_ptable.c ./partition/Make.defs ./partition/partition.h
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
