[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64100] wish/request: please reserve -printf "%V %v %E %R %r %B %e

From: Bernhard Voelker
Subject: [bug #64100] wish/request: please reserve -printf "%V %v %E %R %r %B %e %J %I %z %x %X %j"
Date: Tue, 25 Apr 2023 02:33:57 -0400 (EDT)

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
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
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
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:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]