The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-15-2005
yongho yongho is offline
Registered User
  
 

Join Date: Jun 2005
Location: New York City
Posts: 95
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.
  #2 (permalink)  
Old 06-15-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
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 (permalink)  
Old 06-15-2005
yongho yongho is offline
Registered User
  
 

Join Date: Jun 2005
Location: New York City
Posts: 95
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 (permalink)  
Old 06-18-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
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 ). They will vary across Unix flavours, however, in both layout and content, as most commands differ slightly (or hugely) in terms of syntax and functionality across flavours.

Cheers
ZB
  #5 (permalink)  
Old 06-18-2005
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
For what its worth, try man man for a man page on using man!
  #6 (permalink)  
Old 12-01-2005
lzyiii lzyiii is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 2
try this command

man cmd |col -b > cmd.txt

it works in my solaris platform.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0