From owner-cvs-all Fri May 4 14:13: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 7763237B423; Fri, 4 May 2001 14:13:01 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f44LCcG11116; Fri, 4 May 2001 14:12:38 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200105042056.f44KuZB59583@hak.lan.Awfulhak.org> Date: Fri, 04 May 2001 14:08:24 -0700 (PDT) From: John Baldwin To: Brian Somers Subject: Re: cvs commit: src/usr.bin Makefile src/usr.bin/nl Makefile nl. Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers , Kris Kennaway Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-May-01 Brian Somers wrote: >> On Fri, May 04, 2001 at 10:25:24AM -0700, Brian Somers wrote: >> > brian 2001/05/04 10:25:24 PDT >> >=20 >> > Modified files: >> > usr.bin Makefile=20 >> > Added files: >> > usr.bin/nl Makefile nl.1 nl.c=20 >> > Log: >> > Add nl(1) >> > =20 >> > PR: 27078 >> > Obtained from: NetBSD >> >> What does this do? > > NAME > nl - line numbering filter > > SYNOPSIS > [-p] [-b type] [-d delim] [-f type] [-h type] [-i incr] [-l num] > [-n format] [-s sep] [-v startnum] [-w width] [file] > > It essentially stuffs numbers in front of lines. About like "awk '{ printf "%d:%s\n", NR, $0 }'" then? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message