CRUX has a binary called crux that print the distro name and the version (CRUX version 3.2 for example).