Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

a simple translation to tcsh?



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