16 | | ||= Tcl/Mac OS X =||= 10.8 =||= 10.7 =||= 10.6 =||= 10.5 =||= 10.4 =|| |
17 | | ||=/usr/bin/tclsh =|| 8.5.9|| 8.5.9|| 8.5.7|| 8.4.7 || || |
18 | | ||=/usr/bin/tclsh8.4 =|| 8.4.19|| 8.4.19|| 8.4.19|| 8.4.7|| || |
19 | | ||=/usr/bin/tclsh8.5 =|| 8.5.9|| 8.5.9|| 8.5.7|| <na>|| || |
| 16 | ||= Mac OS X/Tcl =||= `/usr/bin/tclsh` =||= `/usr/bin/tclsh8.4` =||= `/usr/bin/tclsh8.5` =|| |
| 17 | ||= 10.8 =||`8.5.9 ` ||`8.4.19 ` ||`8.5.9 ` || |
| 18 | ||= 10.7 =||`8.5.9 ` ||`8.4.19 ` ||`8.5.9 ` || |
| 19 | ||= 10.6 =||`8.5.7 ` ||`8.4.19 ` ||`8.5.7 ` || |
| 20 | ||= 10.5 =||`8.5.7 ` ||`8.4.19 ` ||`8.5.7 ` || |
| 21 | ||= 10.4 =||`8.4.7 ` ||`8.4.7 ` ||`none ` || |
| 22 | |
| 23 | You can generate the format required by this table using |
| 24 | {{{ |
| 25 | printf '||= %-12s =||`%-19s` ||`%-19s` ||`%-19s` ||\n' \ |
| 26 | $(sw_vers -productVersion | /usr/bin/grep -Eo '[0-9]+\.[0-9]+') \ |
| 27 | $(TCLSH=/usr/bin/tclsh; (test -e $TCLSH && echo 'puts [info patchlevel]' | $TCLSH) || echo "none") \ |
| 28 | $(TCLSH=/usr/bin/tclsh8.4; (test -e $TCLSH && echo 'puts [info patchlevel]' | $TCLSH) || echo "none") \ |
| 29 | $(TCLSH=/usr/bin/tclsh8.5; (test -e $TCLSH && echo 'puts [info patchlevel]' | $TCLSH) || echo "none") |
| 30 | }}} |