Ondřej Vašík wrote: > Hello, > as it was in TODO file and as I guess it could be useful, > I made --user-format long option enhancement to ls. and added > documentation for it to --help and info pages. > This is base approach, I guess some reduction of common sections should > be done (print_escape_char() and similar functions are used in more > programs), but I tried to reduce that patch - will do that later. > This long option was tested by few friends, so format seems to work > properly (at least on GNU/Linux machines), it's based on stat's > user-defined format parser. There are some new features added into > that user-format - e.g. displaying mode as octal number, splitting mode > string to separate section, choosing column width for entries. It > could be easily extended when needed. Test to compare specific > user-format output with ls -l was also added.
Thanks for doing that. However I thought that item had been removed from the TODO: http://lists.gnu.org/archive/html/bug-coreutils/2008-02/msg00115.html This is a large patch to do essentially what `find -printf` already does. Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils