Date: Fri, 04 May 2001 14:08:24 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Brian Somers <brian@Awfulhak.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers <brian@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org> Subject: Re: cvs commit: src/usr.bin Makefile src/usr.bin/nl Makefile nl. Message-ID: <XFMail.010504140824.jhb@FreeBSD.org> In-Reply-To: <200105042056.f44KuZB59583@hak.lan.Awfulhak.org>
index | next in thread | previous in thread | raw e-mail
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/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010504140824.jhb>
