From owner-freebsd-newbies Wed Jun 17 19:15:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25979 for freebsd-newbies-outgoing; Wed, 17 Jun 1998 19:15:13 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from bamboo.verinet.com (root@bamboo.verinet.com [204.144.246.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25971 for ; Wed, 17 Jun 1998 19:15:11 -0700 (PDT) (envelope-from allenc@verinet.com) Received: from struct. (daisy30.verinet.com [199.45.181.254]) by bamboo.verinet.com (8.8.8/8.7.1) with ESMTP id UAA31406; Wed, 17 Jun 1998 20:14:36 -0600 Received: (from allenc@localhost) by struct. (8.8.8/8.8.8) id UAA03764; Wed, 17 Jun 1998 20:14:30 -0600 (MDT) (envelope-from allenc) Date: Wed, 17 Jun 1998 20:14:30 -0600 (MDT) From: allen campbell Message-Id: <199806180214.UAA03764@struct.> To: nik@nothing-going-on.demon.co.uk, sue@welearn.com.au Subject: Re: Pine and Pico Cc: freebsd-newbies@FreeBSD.ORG In-Reply-To: <19980617180012.64598@welearn.com.au> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > would show you the information you're looking for in the "Invocation" > > section. > > Of course, the "Invocation" section! Jeez, I'd never have thought of that > word, glad you mentioned it :-) > > > Alternatively, you could look at some existing shell scripts on your > > system to see if they do it. /etc/rc, /etc/rc.serial and /etc/rc.firewall > > have examples of examining the positional parameters passed to a script > > (although, granted, they're not the easiest code to understand). > > "positional parameters"? I reckon it'd be much easier to get info out of > man pages if some of these words were more familiar, and I guess that > sort of grows on you after doing battle with man pages for a while. > There isn't a glossary anywhere, is there? I've been frustrated with this also. I can honestly say that I do my best to read the available material before asking questions, but that much of that time is wasted guessing my way through enormous man pages. I have seen manual pages that provide a section list near the top. Many of the larger manual pages in HP-UX provide this. Each section in the page is listed (sans SEE ALSO, AUTHOR and other 'standard' sections,) allowing you search for a section quickly. In this case having 'Invocation' listed as one of the available sections might have done the trick. Consider the 5016 lines (according to more(1)) of the bash man page. This thing might be a lot more helpful if there was a section list something like: Sections: ARGUMENTS INVOCATION DEFINITIONS RESERVED WORDS SHELL GRAMMAR COMMENTS QUOTING PARAMETERS EXPANSION REDIRECTION ALIASES FUNCTIONS COMMAND EXECUTION ENVIRONMENT EXIT STATUS SIGNALS JOB CONTROL PROMPTING READLINE HISTORY HISTORY EXPANSION ARITHMETIC EVALUATION SHELL BUILTIN COMMANDS RESTRICTED SHELL Anyhow, If you run X, you might look into tkman. It is available in the ports and it makes manual pages a couple orders of magnitude more useful. There is a 'random manual page' button in this program in case your _really_ bored. :) -- Allen Campbell allenc@verinet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message