Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
a simple translation to tcsh?
- X-seq: zsh-users 12372
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: a simple translation to tcsh?
- Date: Fri, 28 Dec 2007 15:59:55 -0800
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: wgscott@xxxxxxxxxxxxxxxxxx
I use the conditional test
[[ $(sw_vers -productVersion) < 10.5 ]]
on Mac OS X to test whether the current OS version (in my case 10.5.1)
is 10.4.11 or earlier. This takes advantage of a property of zsh that
I haven't figured out how to replicate in a tcsh script.
Is there a simple way to do this, as it is a small nightmare to
implement as an arithmetic test.
Thanks.
Bill Scott
Messages sorted by:
Reverse Date,
Date,
Thread,
Author