* Moshe Zadka | Unless anyone sees any problem with it, here is what I will use to find out | the default python on the build system: | /usr/bin/python -c 'import sys;v=sys.hexversion;print "%s.%s" % ((v>>24)&0xff, (v>>16)&0xff)'
python -c 'import sys; print sys.version[:3]' does the same (but will break ifwhen minor or major gets bigger than 9. pythonc -c 'import sys; print "%d.%d" % (sys.version_info[:2])' should be fine and a lot more readable. -- Tollef Fog Heen ,''`. UNIX is user friendly, it's just picky about who its friends are : :' : `. `' `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]