Voelker, Bernhard wrote: > Jim Meyering wrote: >> Daniel Borkmann wrote: >>> I think it would rather fit into the coreutils than having it's own >>> distribution package. What do you think? (Source attached) >> ... >> Thanks for the suggestion, but it seems better to >> do that with some shell and perl: > > regardless if it's written in C, shell+perl or any other language, > it's still the same question IMHO: should it go into coreutils? > > +1 from me (for the C alternative, no deps to shell/perl etc.).
Sorry, but this is a developer tool, and it's fine to assume shell and perl for such tools. Not to mention the fact that maintaining what is effectively a one-line shell script beats maintaining 100+-lines of C hands down. I'm all for adding such small scripts to a contrib/ directory. ... just waiting for someone motivated enough to handle all of the tedious details.