This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# If the "Standard ML of New Jersey" is installed it will return the path of | |
# the last version found otherwise an empty string. | |
# | |
# The script works on the assumption that SML/NJ was installed using the | |
# official installer, and the root directory is the default /usr/local/smlnj | |
# http://www.smlnj.org/dist/working/110.75/NOTES/MACOSXINSTALL | |
# | |
# find /usr/local/smlnj-*/bin -type d -maxdepth 0 | sort -nr | head -n1 |
NewerOlder