how to chek for the number of options in an app
Sean McMahon
smcmahon at usgs.gov
Wed Mar 23 16:24:26 EST 2005
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" <ngranic at cox.net>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
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 at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list