Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 15:00:02 +0200
From:      "Benedikt Schmidt" <ry102@rz.uni-karlsruhe.de>
To:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: "nl" command
Message-ID:  <20011015150002.A1324@wn4-marvin.wn4.uni-karlsruhe.de>
In-Reply-To: <Pine.BSF.4.21.0110150024250.84337-100000@ren.sasknow.com>
References:  <KPEMLBLEMPMHGLJOCDEGEEAICKAA.scott@gerhardt-it.com> <Pine.BSF.4.21.0110150024250.84337-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ryan Thompson <ryan@sasknow.com> 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




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