Re: No man pages when installing xcode?
Re: No man pages when installing xcode?
- Subject: Re: No man pages when installing xcode?
- From: Bryan Blackburn <email@hidden>
- Date: Wed, 12 Nov 2003 10:49:55 -0700
- Mail-followup-to: email@hidden
On Nov 12, 2003 15:53, Chris Ridd exclaimed:
>
On 12/11/03 3:27 pm, zauhar <email@hidden> wrote:
>
>
> Bryan, WHICH CD has the missing man pages? I checked every archive on
>
> the Xcode CD, and did not find my example missing man page (anything to
>
> do with 'floor' ).
>
>
Take a look at the other Panther CDs. I'd expect BSD.pkg (which contains
>
lots of man pages, including floor(3)) to be on one of those, and not the
>
Xcode CD.
>
Yup, BSD was one; Essentials also has some, but I can't recall if any
were missing from that.
For those curious, I used a simple python script to determine what's
missing:
#!/usr/bin/python
import os
import os.path
import re
import sys
if len( sys.argv ) != 2:
print 'Usage:', sys.argv[ 0 ], '<package>'
sys.exit( 0 )
RSRCFILE_RE = re.compile( r'^\._' )
reclist = os.popen( 'lsbom /Library/Receipts/' + sys.argv[ 1 ] + \
'.pkg/Contents/Archive.bom' )
for recline in reclist:
fields = recline.split( '\t' )
if RSRCFILE_RE.search( os.path.basename( fields[ 0 ] ) ):
continue
if not os.path.exists( '/' + fields[ 0 ] ):
print fields[ 0 ]
# end script
Nothing fancy, of course, but gets the job done.
Bryan
>
Happy hunting :-)
>
>
Cheers,
>
>
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.