Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2010 06:28:59 -0800
From:      Xin LI <delphij@gmail.com>
To:        =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org>,  Alexey Dokuchaev <danfe@freebsd.org>, Xin LI <delphij@freebsd.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r204103 - in head/usr.bin: . seq
Message-ID:  <a78074951002200628k4573a384r4a5f4d7eafd0942f@mail.gmail.com>
In-Reply-To: <20100220133520.GB57731@acme.spoerlein.net>
References:  <201002192354.o1JNsCZJ035886@svn.freebsd.org> <20100220115838.GB94735@FreeBSD.org> <20100220133520.GB57731@acme.spoerlein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 20, 2010 at 5:35 AM, Ulrich Sp=C3=B6rlein <uqs@freebsd.org> wro=
te:
> On Sat, 20.02.2010 at 11:58:38 +0000, Alexey Dokuchaev wrote:
>> On Fri, Feb 19, 2010 at 11:54:12PM +0000, Xin LI wrote:
>> > Author: delphij
>> > Date: Fri Feb 19 23:54:12 2010
>> > New Revision: 204103
>> > URL: http://svn.freebsd.org/changeset/base/204103
>> >
>> > Log:
>> > =C2=A0 Add seq(1), a small utility to generate sequence number.
>>
>> Why do we need this when we have jot(1)?
>
> Compatibility with shell scripts, I suppose. Some ports may use seq(1)
> in their test or build targets, etc. There is no jot(1) on any Linux or
> Solaris I've seen so usage of seq(1) is fairly common.

Yes exactly.

> I wonder though, if we could merge functionality into jot(1) and employ
> a link to seq.

The primary difference between the two is the command line parsing and
option handling and seq uses double number.  I think we will not
benefit a lot from the shared code unfortunately...

Cheers,
--=20
Xin LI <delphij@delphij.net> http://www.delphij.net



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