* On 2022-03-05 at 23:32 GMT, Roland Illig wrote:
To get only the major version even in case of three-part version numbers, use ':R' twice, resulting in ${OSX_VERSION:R:R}.
I added OPSYS_VERSION recently to avoid all this. -- Jonathan Perkin - Joyent, Inc. - www.joyent.com