On January 1, 2003 12:39 am, Joerg Mayer wrote:
Isn't the result of sort -u | uniq -c always either 1 or nothing at all?
But of course, silly me:
[dimi@dimi wine.src]$ find -name "*.h" | sed 's%.*/%%' | sort | uniq -c | sort -rn | head -15 11 main.h 4 user.h 4 resource.h 3 utils.h 3 license.h 3 hal.h 2 unicode.h 2 thread.h 2 shlobj.h 2 regproc.h 2 process.h 2 parser.h 2 dialog.h 2 async.h 1 zmouse.h
Anyway, only a few headers are duplicated, so they should be simple to check.