On Fri, 27 Oct 2000 11:19:00 -0700, Bruce Korb <bkorb@sco.COM> said:
> At the risk of causing a ``not another library'' flame fest, may I
> suggest yet another library? :-) With the snprintfv library (which
> is in the process of being incorporated into libiberty, BTW), you
> can register a callback for the format specifier (as rpm does
> above). So:
> could be used to left justify a 10 character field for the version.
> So, you just select a very useful one-line format for the default
> and give people lots of rope....
I don't know the library but I heartily second the intention. This is
exactly analogous to the way `date' exports the strftime(3) interface,
which is super handy for shell scripts. What to know what year it is?
Want to get the date in a format that can be passed to `cvs checkout
-D'? No problem.
In the same way, one can imagine that a rich set of format specifiers
usable with `svn status' would simplify the scripting of various svn
operations by removing the ugly task of parsing svn's human-readable
I'm not sure this is wholly redundant with Jim's suggestion of a
``script'' knob, but IMO it's at least as useful.
Received on Sat Oct 21 14:36:13 2006