From owner-cvs-all Fri May 4 15:55:27 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 31FA537B422; Fri, 4 May 2001 15:55:21 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f44Msrq14614; Fri, 4 May 2001 23:54:53 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f44MtdB60903; Fri, 4 May 2001 23:55:39 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105042255.f44MtdB60903@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: John Baldwin Cc: Brian Somers , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers , Kris Kennaway , brian@Awfulhak.org Subject: Re: cvs commit: src/usr.bin Makefile src/usr.bin/nl Makefile nl. In-Reply-To: Message from John Baldwin of "Fri, 04 May 2001 14:08:24 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 May 2001 23:55:39 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > It essentially stuffs numbers in front of lines. > > About like "awk '{ printf "%d:%s\n", NR, $0 }'" then? That was my original argument (I suggested ``cat -n''), but nl does more than just that. See the man page. > -- > > 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/ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message