On Mon, 4 Jan 2016, Joe Perches wrote: > measuring only kernel casts to a pointer, (because there are > too many false positives otherwise) casts without a space > are preferred ~3:1 over casts followed by a space. > > (without space) > $�grep -rP --include=*.[ch] -oh "\(\s*(\w{3,}\s+){0,2}\w{3,}\s*\*+\s*\)\w+" * | \ > sort|cut -f1 -d")"| sed 's/$/)/' | wc -l > 36612 > > (with space) > $�grep -rP --include=*.[ch] -oh "\(\s*(\w{3,}\s+){0,2}\w{3,}\s*\*+\s*\)[ \t]\w+" * | \ > sort|cut -f1 -d")"| sed 's/$/)/' | wc -l > 13233 It would be awfully nice if there was a reasonable way to express this sort of computation that didn't require the reader to spend half an hour of intense concentration and man-page reading in order to decipher. Just wishful thinking... Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html