From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gscodenh01.cr.usgs.gov ([136.177.7.10]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1DEDLp-00017p-00 for ; Wed, 23 Mar 2005 16:25:17 -0500 Received: from PUNK ([130.118.172.119]) by gscodenh01.cr.usgs.gov (Lotus Domino Release 6.5.2) with SMTP id 2005032314244352-181277 ; Wed, 23 Mar 2005 14:24:43 -0700 Message-ID: <000e01c52fee$bbc355f0$77ac7682@azwaterDOM.wr.usgs.gov> From: "Sean McMahon" To: "Speakup is a screen review system for Linux." References: <001201c52fe5$938dfee0$4e31e444@nedelko83f1172> Date: Wed, 23 Mar 2005 14:24:26 -0700 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MIMETrack: Itemize by SMTP Server on gscodenh01/SERVER/USGS/DOI(Release 6.5.2|June 01, 2004) at 03/23/2005 14:24:43, Serialize by Router on gscodenh01/SERVER/USGS/DOI(Release 6.5.2|June 01, 2004) at 03/23/2005 14:25:15, Serialize complete at 03/23/2005 14:25:15 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" Subject: Re: how to chek for the number of options in an app X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sean McMahon , "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 21:25:17 -0000 commands usually start with - or -- so you could type command --help, where command is the name of the command you are looking for, pipe that through grep for the string '-' or '--' then pipe that through wc. That might give you some idea I'd look at the help or man pages first to see the syntax of how they show you options so you can see how to grep for a sensible search string. This sounds like some kind of tricky way to answer some random exam question? ----- Original Message ----- From: "Ned" To: "Speakup is a screen review system for Linux." Sent: Wednesday, March 23, 2005 1:19 PM Subject: how to chek for the number of options in an app Hi all, Is there a way to check, without counting by hand within the manual, how many options are there for a command such as ls, more, bash, etc? If not, what's the shortest way of doing that through the man? Many thanks in advance! Ned _______________________________________________ Speakup mailing list Speakup@braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup