Re: how to get OS version with Shell script?
Re: how to get OS version with Shell script?
- Subject: Re: how to get OS version with Shell script?
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 11 Jan 2007 10:51:38 -0500
If you really want to use the shell, it's
set osx_version to (do shell script "sw_vers -productVersion")
On 1/11/07, William Knight <email@hidden> wrote:
set OSversion to system version of (system info)
William H. Knight
******************************************
Network Engineer
Contractor - NIAID/OTIS
perotsystems(r)
Government Services
(301) 402.4942
National Institutes of Health
10401 Fernwood Rd.
Room 2A14
Bethesda, M.D. 20892
******************************************
"The bad news: there is no key to the universe. The good news: it was
never locked." –Swami Beyondananda
****************************************************************************
Disclaimer:
The information in this e-mail and any of its attachments is confidential
and may contain sensitive information. It should not be used by anyone who
is not the original intended recipient. If you have received this e-mail in
error please inform the sender and delete it from your mailbox or any other
storage devices. The National Institute of Allergy and Infectious Diseases
(NIAID) shall not accept liability for any statement made that are the
sender's own and not expressly made on behalf of the NIAID by one of its
representatives.
****************************************************************************
________________________________
From: Horky Chen <email@hidden>
Date: Thu, 11 Jan 2007 10:11:17 -0500
To: <email@hidden>
Conversation: how to get OS version with Shell script?
Subject: how to get OS version with Shell script?
Dear all,
Now, I want to write a script to check current version of Mac OS. How to
do?
Thanks & Best Regards!
--
Horky.Chen
_____________________
________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives:
http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives:
http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden