|
#1
| |||
| |||
| 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 |
|
#2
| ||||
| ||||
| 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 |
![]() |
| Thread Tools | |
|
|
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 |