From owner-freebsd-questions Tue May 7 16:20:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wonkity.com (wonkity.com [63.93.4.4]) by hub.freebsd.org (Postfix) with ESMTP id 75E5737B408 for ; Tue, 7 May 2002 16:20:22 -0700 (PDT) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id g47NKLuF085137; Tue, 7 May 2002 17:20:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id g47NKHfw085134; Tue, 7 May 2002 17:20:21 -0600 (MDT)?g (envelope-from wblock@wonkity.com) Date: Tue, 7 May 2002 17:20:17 -0600 (MDT) From: Warren Block To: Peter Leftwich Cc: FreeBSD Questions LIST Subject: Re: man man ; man -r command_here In-Reply-To: <20020507132927.T752-100000@66-75-1-142.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 7 May 2002, Peter Leftwich wrote: > Wouldn't it be great if there were some sort of "man -r" flag, so that the > user could [remotely] read either the latest manpage (from an ftp server) > or a manpage for a binary he or she does not have installed? This would be > similar to the "pkg_add -r" ideology. With a little bit of scripting, it wouldn't be hard to implement that based on the man pages on http://www.freebsd.org/docs.html#man For bonus points, obtain the brand and version of the user's current operating system without user intervention. No fair setting variables by hand, have the script determine it and show the correct man pages (unless the user has specifically requested a man page for a different system the the one they're running). 8-) -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message