![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
man <cmd> >> cmd.txt
I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be able to retrieve a "man" but in an easier-to-read format (after redirecting it into a txt file). This way I won't run into as many syntax errors as I do now. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Why do you want to re-invent the wheel again ?
A quick google search on 'unix man page' will give you many a site which post the man pages of unix. The first result of the google query gave me this URL. http://www.rt.com/man/ Check it out. It will help you. Vino |
|
#3
|
|||
|
|||
|
oh
Oh, thank you.
I just started coding shell scripts about a week and a half ago. So I'm unaware of some of the readily available resources. I guess -- I was worried that maybe each unix machine has its own version of the "unix manual" that is tailored to the flavor of the shells on the machine. |
|
#4
|
||||
|
||||
|
I also don't understand what the point of appending loads of man pages into a text file is?!
Surely scanning through a huge file for the command your interested in is far slower than just running "man mycommand" anyway?? The man page itself has nothing to do with the shell (except for the manual pages for shells, of course Cheers ZB |
|
#5
|
||||
|
||||
|
For what its worth, try man man for a man page on using man!
|
|
#6
|
|||
|
|||
|
try this command
man cmd |col -b > cmd.txt
it works in my solaris platform. |
|
#7
|
|||
|
|||
|
You might also run catman (on solaris anyway
Carl |
|||
| Google The UNIX and Linux Forums |