On 22/02/2008, at 7:23 PM, Asko Kauppi wrote: > > What is the proper way to test whether a user is running OS X 10.3? > > I've just noticed the test I had has not worked since 10.4.10, and > will either banish 10.3 support or need a fool proof test. Did not > find anything on net.
I often use: /usr/bin/sw_vers -productVersion | cut -d'.' -f1-2 which will return "10.3", "10.4" or "10.5" Cheers, Michael ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel