Follow-up Comment #5, bug #64100 (project findutils): My first thought on this request was rather how are other well-known tools which are specified by POSIX doing this? Hence I compared find's -printf percent formats to that for stat(1) from the GNU coreutils. Unluckily, there's maybe only 30-40% of overlap. Users have to know per tool.
Regarding format specs like "left-justified in a column of width 20": I don't believe that it s find(1)s task to do formatting, and such features would add unnecessarily large code while subsequent and existing formatting tools, e.g. numfmt(1), can easily do that already. One tool for one purpose. Regarding the requested formatting range: I don't believe that it's good for find to add too many features in the future, especially those which are specific to certain filesystems. That kind of information can be retrieved with or in combination with other existing tools already, so that would just be yet another way to achieve things. Hence it's unlikely that there'll be a "clash" with how rawhide interprets the formatting characters. But anyway, thanks for the heads-up, and we now have this as reference in the bug tracker. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64100> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/