From owner-svn-src-head@FreeBSD.ORG Sat Feb 20 14:29:05 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F417D106566B; Sat, 20 Feb 2010 14:29:04 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AC3C08FC12; Sat, 20 Feb 2010 14:29:02 +0000 (UTC) Received: by pwj7 with SMTP id 7so1316366pwj.13 for ; Sat, 20 Feb 2010 06:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mxOSZFiZ13aP8qRl5IbJxx7DT7rjr5S3mDky6rxpV1Q=; b=EkH51gl8/8ZYaMST2D8UHBtrFsD5Mwoi2NPafpy/+xp8FcXDgs2/vkoDbC0lst5bBE iY3iUtua7HijrLWDGHNcspTQ1wQyYFjUc5L/qtVYYyR2y3K2NuPHYA3nDVPPxJ8Ih9n7 ig3MPXQ1TI1R7E0IREYoJv8JuCEkJzOA+i/Yw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=swNM2itC3wmslXopsGw8YRfJQRoQCX+rVhSu7F5jegjG5Uehy+Q1mkV+zdN8qQRlkV Qyy8dIHZPvMHDPXtLjkyLcytX+B42G5IoEVLFBZQxxd4Y71VL25xb9NMXaSYw2DD89uJ Z5EIQn2U+kAhRSFOZbUejYgX1hXbv9ZRT1mxg= MIME-Version: 1.0 Received: by 10.114.68.12 with SMTP id q12mr918844waa.67.1266676139841; Sat, 20 Feb 2010 06:28:59 -0800 (PST) In-Reply-To: <20100220133520.GB57731@acme.spoerlein.net> References: <201002192354.o1JNsCZJ035886@svn.freebsd.org> <20100220115838.GB94735@FreeBSD.org> <20100220133520.GB57731@acme.spoerlein.net> Date: Sat, 20 Feb 2010 06:28:59 -0800 Message-ID: From: Xin LI To: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= , Alexey Dokuchaev , Xin LI , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: svn commit: r204103 - in head/usr.bin: . seq X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2010 14:29:05 -0000 On Sat, Feb 20, 2010 at 5:35 AM, Ulrich Sp=C3=B6rlein 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 http://www.delphij.net