[Pythonmac-SIG] Re: Pack Man issues on OS X 10.3.4

Chris Barker Chris.Barker at noaa.gov
Mon Jun 7 15:05:45 EDT 2004


Russell E. Owen wrote:

> Perhaps you could base it on locate:
> % locate python
> (huge list of stuff that you'd have to grep through, unless you can 
> figure out how to locate ^python$)

locate "*bin*python"

better, but it won't pick up: /usr/bin/python2.3, for instance, which it 
should:

locate "*bin*python?.?"

will catch that, but not the former. I think locate follows glob rules, 
so there may be better ways.

You do have to make sure that the locate DB is up to date, I'm not sure 
when it gets updated by the system.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the Pythonmac-SIG mailing list