how to chek for the number of options in an app

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
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





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux