Follow-up Comment #6, bug #45780 (project findutils): What if you put some intelligence into find? Fetch the first 1024 entries and figure out the biggest inode number. Then use that value as the size of the inode. Probably most of the time, it will be ok for the rest of the output.
This would mean to cache the first 1024 entries if find is called interactively. However, if piped, then current behavior prevails. An option should be provided to force the 1024 entries behavior even when piped in case someone wants to save the output for a report and wants proper alignment. There could also be an option to cache all entries and properly align the output. Another one would allow to change the default 1024 value. There could be an option to force the size of the column, no question asked. There are a lot of options. It is up to you to decide what is best, and what you can actually do with the time you have. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45780> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/