#!/bin/bash echo "SCM versions:" if command -v bk; then bk --version; fi if command -v hg; then hg --version; fi if command -v svn; then svn --version; fi if command -v cvs; then cvs --version; fi if command -v mtn; then mtn --version; fi if command -v bzr; then bzr version; fi