svn: head/usr.bin: . trim

Alexey Dokuchaev danfe at freebsd.org
Fri Nov 30 10:57:15 UTC 2018


On Fri, Nov 30, 2018 at 09:49:55AM +0100, Baptiste Daroussin wrote:
> On Fri, Nov 30, 2018 at 08:31:17AM +0000, Steven Hartland wrote:
> > Personally I disagree, chances of people finding that option in dd
> > is slim, a dedicated trim utility makes much more sense to me. Sure
> > have both that's cool but keep the trim would be my vote.

Having both is OK when there's no code duplication involved (e.g. like
hd(1) being a handy hardlink to hexdump(1)), yet again...

> I also like the idea of a simple dedicated tool with an obvious name.

... "Obvious" names can cut both ways.  They can be too generic and thus
create a clash in the future.  They can be ambiguous ("trim" can just as
easily be a tool that excessive whitespace from text files).

./danfe


More information about the svn-src-head mailing list