image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 23rd, 2001, 06:44 AM
Registered User
 
Join Date: Oct 2001
Location: London
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
butre is on a distinguished road
Unhappy man page binary gone

i have been very stupid.
by accident I have overwritten the man pages binary with a text file, so now I cannot use the man command any longer. Don't ask me how i did it but i did.

Does anyone have an idea how I can get the man binary back (i do not want to reinstall osx)

Or could any one send me their man binary so I can just put it back where it belongs

thanks
butre@mac.com
Reply With Quote
  #2  
Old November 23rd, 2001, 02:12 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
Two options:

a) download and compile fresh source for man. Shouldn't be all too hard to do...

b) get the man binary off the install CD. Will probably take a while, but ought to work no matter what.
- Pop in the install CD
- in terminal:
cd /
find the man binary - repeat for each package till you find it. BSD.pkg is likely a good place to start.
lsbom "/Mac OS X Install CD/System/Installation/Packages/BSD.pkg/Contents/Resources/BSD.bom" | grep /usr/bin/man
if there is a match
gzcat "/Mac OS X Install CD/System/Installation/Packages/BSD.pkg/Contents/Resources/BSD.pax.gz" | ( sudo pax -r /usr/bin/man )

One word of caution - you probably want to try the last step in your home directory, without the sudo, before doing it with sudo in the / directory, just to make sure it works right - Normally I would say, 'make sure you read the man page for pax first,it's a bit complex', but that's out I guess...
__________________

What is the robbing of a bank compared to the founding of a bank?
-- Bertold Brecht
Reply With Quote
Reply

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virex man documentation file (vscanx.1) XFox Mac OS X System & Mac Software 0 August 24th, 2003 09:39 PM
Make man provide info about downloaded binary agusgriego Unix & X11 2 May 12th, 2003 06:04 PM
Omniweb updated edX Mac OS X System & Mac Software 1 February 9th, 2003 11:23 AM
trouble using man dsidote Mac OS X System & Mac Software 2 September 3rd, 2002 06:55 PM
Missing chown & misleading man pages ntwyman Mac OS X System & Mac Software 4 July 6th, 2001 03:49 PM


All times are GMT -5. The time now is 01:39 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.