Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 10:57:14 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Steven Hartland <steven.hartland@multiplay.co.uk>, Maxim Sobolev <sobomax@freebsd.org>, src-committers <src-committers@freebsd.org>, "eugen@freebsd.org" <eugen@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Cy Schubert <Cy.Schubert@cschubert.com>
Subject:   Re: svn: head/usr.bin: . trim
Message-ID:  <20181130105714.GA84052@FreeBSD.org>
In-Reply-To: <20181130084955.o4loxtuswdsvzksy@ivaldir.net>
References:  <20181130011713.42B641D27@spqr.komquats.com> <0e233c0c-6c80-4618-9618-48162362a849@multiplay.co.uk> <20181130084955.o4loxtuswdsvzksy@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181130105714.GA84052>