Date: Fri, 4 May 2001 19:13:24 -0700 (PDT) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: jhb@FreeBSD.org (John Baldwin) Cc: brian@Awfulhak.org (Brian Somers), cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, brian@FreeBSD.org (Brian Somers), kris@obsecurity.org (Kris Kennaway) Subject: Re: cvs commit: src/usr.bin Makefile src/usr.bin/nl Makefile nl. Message-ID: <200105050213.TAA09864@gndrsh.dnsmgr.net> In-Reply-To: <XFMail.010504140824.jhb@FreeBSD.org> from John Baldwin at "May 4, 2001 02:08:24 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Or pr -n > > 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 <jhb@FreeBSD.org> -- 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/ > -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105050213.TAA09864>