On Tue, 25 Feb 2003, Chris Devers wrote: > On Tue, 25 Feb 2003, Jeff Lowrey wrote: > > > At 10:12 AM +1100 2/26/03, John Horner wrote: > > >How do I find out if it's 10.1.3 or 10.1.5 from the command-line? > > > > > > > [toothgnip:~] jeff% osascript -e 'tell application "Finder" to version' > > osascript -e 'tell application "Finder" to version' > > 10.2.1 > > That looks painful.
And, now that I try it, it also looks inaccurate: % sw_vers | grep 'ProductVersion' | awk '{print $2}' 10.2.4 % osascript -e 'tell application "Finder" to version' 10.2.1 !!! Just use sw_vers :) -- Chris Devers [EMAIL PROTECTED] throwaway, adj. (Of a program) sold below cost for public debugging. See also PROTOTYPING. -- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995