#!/bin/sh
# to determine what version you use in Mac OS X
VER=`sw_vers -productVersion | awk -F. '{ print $1 "." $2 }'`
case $VER in
"10.8")
echo Mountain Lion
;;
"10.9")
echo Mavericks
;;
"10.10")
echo Yosemite
;;
esac
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme