From owner-freebsd-questions Mon Oct 15 6: 0: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by hub.freebsd.org (Postfix) with ESMTP id 8079737B40F for ; Mon, 15 Oct 2001 05:59:58 -0700 (PDT) Received: from wn4-marvin.wn4.uni-karlsruhe.de (steele@wn4-marvin.wn4.uni-karlsruhe.de [172.20.12.211]) by mailgate.rz.uni-karlsruhe.de with smtp (Exim 3.16 #1) id 15t7LZ-00037x-00; Mon, 15 Oct 2001 14:59:57 +0200 Received: by wn4-marvin.wn4.uni-karlsruhe.de (sSMTP sendmail emulation); Mon, 15 Oct 2001 15:00:02 +0200 Date: Mon, 15 Oct 2001 15:00:02 +0200 From: "Benedikt Schmidt" To: FreeBSD Subject: Re: "nl" command Message-ID: <20011015150002.A1324@wn4-marvin.wn4.uni-karlsruhe.de> Mail-Followup-To: FreeBSD References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ryan Thompson wrote: > Scott Gerhardt wrote to parv: > > Nope, not high (wish I was at the time). I did make a typo in my original > > post and piped "ls -al | ln" (should have been nl). > > I did not quote the wrong man page though here is the output, just did it > > again: > > > > 1014 scott@blue: /root # man nl > > > > curs_outopts(3X) curs_outopts(3X) > > > > > > NAME > > clearok, idlok, idcok immedok, leaveok, setscrreg, > > wsetscrreg, scro > > > > Why do I get this man page for "man nl"??? > You got the correct manpage... You should have quoted a bit more: [...] > clearok, idlok, idcok immedok, leaveok, setscrreg, > wsetscrreg, scrollok, nl, nonl - curses output options > ^^ > > Note that the 'nl' function is included in the manpage for > curs_outopts(3X). All of the functions listed under "NAME" will produce > this manual page. > > And, the important point is that nl is a library function, and not a > system command, so if you try to execute it from a command prompt, it will > of course report command not found. Just to make clear why parv has a 'nl' manpage: % cvs log nl.c [...] revision 1.2.2.1 date: 2001/09/27 17:51:06; author: wollman; state: Exp; lines: +1 -1 MFC addition of nl(1) utility. ============================================================================= nl has just been added to RELENG_4 a few weeks ago. You can use 'man -a nl' to see all manpages for 'nl' in the different sections. -- Benedikt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message