In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Chris Devers) wrote:
> Quick report:
>
> $ system_profiler -detailLevel mini
>
> Obsessive detail report:
>
> $ system_profiler -detailLevel full
a little more precise if use system_profiler :
system_profiler SPSoftwareDataTyp
At 17:52 -0700 15/10/07, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (David Cantrell) wrote:
> ie whether it's 10.0, 10.1 etc, I don't care about the difference
between 10.3.3 and 10.3.4.
This is nice in that it doesn't depend on external processes (sw_vers,
Finder
Everyone has suggested "system_profiler" for the hardware stuff. But
it appears that I will need do some parsing with
$ grep -A1 'BundleShortVersion' /Library/Receipts/*.pkg/Contents/version.plist
| grep string
On Solaris you have pkginfo, in HP you have "swlist" and Linux you
need to use
In article <[EMAIL PROTECTED]>, David
Cantrell <[EMAIL PROTECTED]> wrote:
> Is there any simple way that people can think of to detect which major
> version of OS X my perl code is running on?
>
> ie whether it's 10.0, 10.1 etc, I don't care about the difference
> between 10.3.3 and 10.3.4.
I wa