Follow-up Comment #4, bug #18927 (project coreutils):

My experience with find -printf format letters (and I'm sure of the coreutils
developers with command-line option letters) is that there just aren't enough
letters.   The ones you end up with still available just aren't mnemonic for a
new use you have in mind anyway.  If you want to implement this feature (and
I'm kind of neutral on the idea) I would strongly recommend using words as
templating tokens.  Perhaps a little like Python does it:

"%(inode)s %(typeletter)s %(symbolicmode)s  %(st_nlinks)d %10(owner)s...n"

Here the item in parentheses is a symbolic name for the thing to be
formatted, and the other stuff determines the width of the field and how the
data is to be formatted, as usual.  

Of course there is a good argument that since find already has most of this
functionality, the simplest path is to add the remaining required
funcitonality to find.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18927>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to