I have a shell script that recursively descends a source tree and passes all the .c, .cpp, .h, and .hpp files to uncrustify. This works just fine except that I'm trying to stop uncrustify from modifying some generated files that have .cl.h as the extension.
*INDENT-OFF* prevents most changes, but uncrustify still replaces all the leading tabs in /* */ comments with spaces. I can't find a way to disable that in the .cfg file, which I'd like to do for all the files. It also removes whitespace from lines that contain only whitespace, and deletes extra blank lines (which I ordinarily want it to do). I could fix the latter problems in the generator, but I like tabs!
It doesn't appear that there's any way to exclude .cl.h files from being processed. I could modify my tree walker, of course, but find's regex doesn't have lookbehinds, so I'd have to use something else. It would be simpler and clearer if I could just turn off uncrustify's insistence on replacing tabs with spaces in /* */ comments.
Is there any way to do that?