* RE: documentation for windows
@ 2001-07-02 11:29 Steve Jorgensen
2001-07-02 11:37 ` Randall R Schulz
2001-07-02 11:37 ` Michael Erdely
0 siblings, 2 replies; 7+ messages in thread
From: Steve Jorgensen @ 2001-07-02 11:29 UTC (permalink / raw)
To: cygwin@cygwin. Com (E-mail)
The apropos command may be even more useful to a newby. I don't remember
how long I struggled the first time I wanted to rename a file. The apropos
command searches the man and info pages for a key word, and reports the
relevant entries.
-----Original Message-----
From: Joshua Franklin [SMTP:joshuadfranklin@yahoo.com]
Sent: Monday, July 02, 2001 6:22 AM
To: will@siteaboutnothing.com; cygwin@cygwin.com
Subject: re: documentation for windows
If you're really that new to *NIX, you might not
know about the dominant form of documentation--
man pages. Just type 'man [name of command]' for
basic usage info. And, IARC, the BASH manual is
in /usr/doc or somewhere. Try 'find /usr -name "bash*.html"'
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: documentation for windows
2001-07-02 11:29 documentation for windows Steve Jorgensen
2001-07-02 11:37 ` Randall R Schulz
@ 2001-07-02 11:37 ` Michael Erdely
2001-07-03 15:27 ` Jonadab the Unsightly One
2001-07-04 13:51 ` David Starks-Browning
1 sibling, 2 replies; 7+ messages in thread
From: Michael Erdely @ 2001-07-02 11:37 UTC (permalink / raw)
To: cygwin
It may also be worth noting, since you are recommending this for
newbies, that you have to type "/usr/sbin/makewhatis" to create the
whatis database for apropos to be useful. ;-)
-ME
-----Original Message-----
From: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of Steve Jorgensen
Sent: Monday, July 02, 2001 2:37 PM
To: cygwin@cygwin. Com (E-mail); cygwin@cygwin. Com (E-mail)
Subject: RE: documentation for windows
The apropos command may be even more useful to a newby. I don't
remember
how long I struggled the first time I wanted to rename a file. The
apropos
command searches the man and info pages for a key word, and reports the
relevant entries.
-----Original Message-----
From: Joshua Franklin [SMTP:joshuadfranklin@yahoo.com]
Sent: Monday, July 02, 2001 6:22 AM
To: will@siteaboutnothing.com; cygwin@cygwin.com
Subject: re: documentation for windows
If you're really that new to *NIX, you might not
know about the dominant form of documentation--
man pages. Just type 'man [name of command]' for
basic usage info. And, IARC, the BASH manual is
in /usr/doc or somewhere. Try 'find /usr -name "bash*.html"'
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: documentation for windows
2001-07-02 11:29 documentation for windows Steve Jorgensen
@ 2001-07-02 11:37 ` Randall R Schulz
2001-07-02 11:37 ` Michael Erdely
1 sibling, 0 replies; 7+ messages in thread
From: Randall R Schulz @ 2001-07-02 11:37 UTC (permalink / raw)
To: jorgens, cygwin
Steve,
I love "apropos." If typing that gives you trouble, go with "man -k".
However, the important thing to note is that it's only searching the
synopsis text at the top of the man page, not the full text of the page.
Lastly, it searches for a character string, not a full word.
Randall Schulz
At 11:36 2001-07-02, Steve Jorgensen wrote:
>The apropos command may be even more useful to a newby. I don't remember
>how long I struggled the first time I wanted to rename a file. The apropos
>command searches the man and info pages for a key word, and reports the
>relevant entries.
>
>-----Original Message-----
>From: Joshua Franklin [SMTP:joshuadfranklin@yahoo.com]
>Sent: Monday, July 02, 2001 6:22 AM
>To: will@siteaboutnothing.com; cygwin@cygwin.com
>Subject: re: documentation for windows
>
>If you're really that new to *NIX, you might not
>know about the dominant form of documentation--
>man pages. Just type 'man [name of command]' for
>basic usage info. And, IARC, the BASH manual is
>in /usr/doc or somewhere. Try 'find /usr -name "bash*.html"'
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: documentation for windows
2001-07-02 11:37 ` Michael Erdely
@ 2001-07-03 15:27 ` Jonadab the Unsightly One
2001-07-03 17:32 ` Randall R Schulz
2001-07-04 13:51 ` David Starks-Browning
1 sibling, 1 reply; 7+ messages in thread
From: Jonadab the Unsightly One @ 2001-07-03 15:27 UTC (permalink / raw)
To: cygwin
# It may also be worth noting, since you are recommending this for
# newbies, that you have to type "/usr/sbin/makewhatis" to create the
# whatis database for apropos to be useful. ;-)
Wouldn't it be just as easy to grep /usr/man/man1/*
for your key word? Or would that take longer?
--
Your font seems to be: proportional fixed
^
|
(Fontmeter only accurate for about 90% of fonts.)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: documentation for windows
2001-07-03 15:27 ` Jonadab the Unsightly One
@ 2001-07-03 17:32 ` Randall R Schulz
0 siblings, 0 replies; 7+ messages in thread
From: Randall R Schulz @ 2001-07-03 17:32 UTC (permalink / raw)
To: jonadab, cygwin
Jonadab,
Well, there's more to the manual than section 1, but that would be
accommodated with this variation:
grep /usr/man/man*/*
Then there's the fact that you'd get all the lines from all the man page
files, when what you want is to know the names of the commands on which to
run "man." So:
grep -l /usr/man/man*/*
But the real problem is that you'll probably get too many false hits this
way, since any old mention of the search pattern, regardless of whether the
man page author considered it a "key word" in the synoptic description of
the command.
You should be aware, too, that these files are man page _sources_ written
in nroff for the man macros (plus, possibly, tbl, eqn or others). This
could cause further false hits. In some cases, it might even cause a miss.
The pre-formatted pages for things that have already been "manned" are in
/usr/man/cat*, but the formatting, including lots of embedded grunk (like
backspace-encoded overtyping to get bold) and hyphenation, make grepping
problematic.
If you have no luck with apropos / man -k, then the grep technique might
work. Once up a time on a non-Unix system (MPW), I created an "apropos"
command that had options to control how much of a help file entry (the MPW
equivalent to man pages) would be searched. The default was still just the
synopsis.
By the way, I don't think speed would be a problem with your suggestion for
me, but I have two fast CPUs and pretty much the fastest disks and I/O
adaptor available today. From this standpoint, I'd suggest egrep, which I
use for all my "grepping" needs.
Randall Schulz
At 15:26 2001-07-03, Jonadab the Unsightly One wrote:
># It may also be worth noting, since you are recommending this for
># newbies, that you have to type "/usr/sbin/makewhatis" to create the
># whatis database for apropos to be useful. ;-)
>
>Wouldn't it be just as easy to grep /usr/man/man1/*
>for your key word? Or would that take longer?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: documentation for windows
2001-07-02 11:37 ` Michael Erdely
2001-07-03 15:27 ` Jonadab the Unsightly One
@ 2001-07-04 13:51 ` David Starks-Browning
1 sibling, 0 replies; 7+ messages in thread
From: David Starks-Browning @ 2001-07-04 13:51 UTC (permalink / raw)
To: cygwin
On Monday 2 Jul 01, Michael Erdely writes:
> It may also be worth noting, since you are recommending this for
> newbies, that you have to type "/usr/sbin/makewhatis" to create the
> whatis database for apropos to be useful. ;-)
It makes sense (at least to me) to do this as part of setup, at the
end.
Meanwhile, I'll add this to the FAQ.
Cheers,
David
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
* re: documentation for windows
@ 2001-07-02 6:22 Joshua Franklin
0 siblings, 0 replies; 7+ messages in thread
From: Joshua Franklin @ 2001-07-02 6:22 UTC (permalink / raw)
To: will, cygwin
If you're really that new to *NIX, you might not
know about the dominant form of documentation--
man pages. Just type 'man [name of command]' for
basic usage info. And, IARC, the BASH manual is
in /usr/doc or somewhere. Try 'find /usr -name "bash*.html"'
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-07-04 13:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02 11:29 documentation for windows Steve Jorgensen
2001-07-02 11:37 ` Randall R Schulz
2001-07-02 11:37 ` Michael Erdely
2001-07-03 15:27 ` Jonadab the Unsightly One
2001-07-03 17:32 ` Randall R Schulz
2001-07-04 13:51 ` David Starks-Browning
-- strict thread matches above, loose matches on Subject: below --
2001-07-02 6:22 Joshua Franklin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).