Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2001 23:55:39 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Brian Somers <brian@Awfulhak.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers <brian@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>, brian@Awfulhak.org
Subject:   Re: cvs commit: src/usr.bin Makefile src/usr.bin/nl Makefile nl. 
Message-ID:  <200105042255.f44MtdB60903@hak.lan.Awfulhak.org>
In-Reply-To: Message from John Baldwin <jhb@FreeBSD.org>  of "Fri, 04 May 2001 14:08:24 PDT." <XFMail.010504140824.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 <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/

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105042255.f44MtdB60903>