These changes are the first part of a refactoring of find's
print-related code. They:
- move this code out into a separate file
- add some tests
- explicitly reserve the %{, %[ and %( format specifers (previously
these were unused).
These things still need to be done:
- refactor insert_fprintf into smaller functions
- remove the scan/scan2 wart from the current insert_fprintf code
- document %B better, fix %B@ on non-birthtime-supporting systems.
- better test coverage for %y (character devices, loops, broken
links)
- test %S, %i, %Z
- find a way to test the time-related formatting (perhaps using
faketime).