Jim Meyering <address@hidden> wrote:
> However, before you invest more time in it, please look at
> how GNU find handles its -printf predicate and see if it
> is feasible to share parts of that code.
As far as I can tell, most of the logic boils down to insert_fprintf()
in findutils' parser.c. Concerning the feasibility of sharing parts,
I don't know offhand (it doesn't look easy though). Albeit I searched
through the coreutils mailing list archive and found some according
threads regarding extending ls, I'm not exactly sure what format
functionality is needed (unless we want a working find -printf
resembling behavior).
Steven Schubiger